Multiple forms in vb.net.

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

toonworld

Thread Starter
Joined
May 19, 2004
Messages
26
Hi, I was wondering if anyone could help me with switching forms in vb.net. I tried using:

Dim frmForm2 As New frmForm1()
frmForm2.ShowDialog()

It switches to form 2 but it leaves form 1 on there still. Any better way of doing it? Would I use the same method to go back to the previous screen?
Also I was wondering how to switch forms in different solutions if its possible. I have a book but it doesn't cover anything but programs with one form!
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top