I am working on vb.net and i want ot link a form with a button so when i click on button the form show but it contain error kindly guide
code is this:
Dim myform As New Form1
and the compiler show error on myform.show()

OK, you have an error and it seems in a way related to a form.
Could you please also specify WHAT error?
If I told you I have a car, would you know what car I have?

Why would you want to load form1 again? Anyway it works for me without an error.

Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
        Dim myform As New Form
    End Sub