help :(

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sillynoob
    New Member
    • Jan 2012
    • 1

    #1

    help :(

    Got some work to do at home from college... Totally a noob with VB so please forgive me :)

    But, basically,
    Code:
    [U]Private Sub[/U] RadioButton1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton1.CheckedChanged
            txtEvent.Text = "Tennis"
            cyclingradio.Visible = True
            swimmingradio.Visible = False
            tennisradio.Visible = False
        End Sub
    The underlined "Private Sub" is making an error, and I have no idea how to fix it, can someone help? :(

    Ask for more details if needed :)

    Thanks!
  • danp129
    Recognized Expert Contributor
    • Jul 2006
    • 323

    #2
    It looks like VB.Net code, however you are posting in the VB 4/5/6 section.

    What version of Visual Basic are you attempting to program in?

    Comment

    Working...