Or more correctly you need to instantiate a new instance of a form class.
As an example I create a new form called form2. This is in fact a class so when I click on the button I would create an instance of the form and then call either the showdialog or the show method to display the new form. In the example case this button would be on an instance of say form1.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim x as new Form2 x.ShowDialog() End Sub
|