Results 1 to 3 of 3

Thread: (Resolved)Making a button open a new form

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2005
    Posts
    20

    Exclamation (Resolved)Making a button open a new form

    im trying to get a button to go to a new form, like when the user clicks on it a new form loads. thanks
    Last edited by Kaneoku; May 12th, 2005 at 08:39 AM.

  2. #2
    Hyperactive Member
    Join Date
    Dec 2002
    Posts
    382

    Re: Making a button open a new form

    Code:
        Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    
            Dim f As New Form2
            f.Show()
    
    End Sub

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Feb 2005
    Posts
    20

    Re: Making a button open a new form

    thanks, im really new to programming.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width