Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

laod another form?

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
0
0
Im new to vb.net .
In vb6 I use this command to load another form
load form2

but in vb.net that doesnt work anymore.
anyone know how to load another form in vb.net?
 
Forms are classes, so first create an instance to the form you want to open and then use the Show or ShowDialog method on the object:

Dim frmDialog As New frmInsertProject()
frmDialog.ShowDialog()
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top