I have two files.
entry.vb
MenuForm.vb

When I execute application it pop-ups form entry.vb.
when user clicks login button on entry.vb it should load(show)
the MenuForm.vb.

Could you tell how to do this

I got this code, but getting error:

Private Sub BtnLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnLogin.Click

Me.Hide 'Hides entry.vb
MenuForm.Show() 'it should load MenuForm-----its giving error

End Sub

ERROR MESSAGE:Reference to a non-shared member requires an object reference.


Thank you