Form navigation

  • Thread starter Thread starter aquascum
  • Start date Start date
A

aquascum

Guest
I have some problem in VB.NET.... I've created a series of forms and try to link them together using the code like
Me.Hide()
DIm abcForm = new LinkForm()
abcForm.show()

but they are not working.....even if i use Me.Close(), the program pops up an error.....or using Me.Dispose() in the first form of the series will cause error too.....it's real increadible!!! How can i fix such small but annoying errors??:confused:
 
Hmm... I'm not sure, but you should try this:

Visual Basic:
Dim acdForm As LinkForm = New LinkForm()
' Or you could use: Dim abcForm As New LinkForm()

abcForm.Show()
Me.Hide()

HTH
 
Back
Top