Tech Support Guy banner
Status
Not open for further replies.
1 - 2 of 2 Posts

· Registered
Joined
·
4 Posts
Discussion Starter · #1 ·
Hi!

I'm building multiple interfaces (forms) in VB.NET. How do I make a button in my first interface which I'm calling "Main Menu" take me (or the end user) to other interfaces in the program? in other words, how do I make end users go back and forth between forms? Also how do I make the "Exit" button close the form? What kind of code do I need to do all of that? Does each interface has to be in its own project or is it possible to build multiple interfaces in one project?

Thank you.
 

· Registered
Joined
·
2,018 Posts
Okay, unless VB.net has changed dramatically from VB6, the code for your comand button should look like this:

formName.show

to close it:

unload me

MBN
 
1 - 2 of 2 Posts
Status
Not open for further replies.
Top