Private Sub Button1_Click(.....) Handles Button1.Click
dim objForm2 as new Form2()
objForm2.Show()
End Sub
[code]
you can also use
[code]
objForm2.ShowDialog
[code]
if you want form2 to be displayed as a modal dialog window.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.