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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open a form with a button

Status
Not open for further replies.

Guest_imported

New member
Joined
Jan 1, 1970
Messages
0
I want to open a new form using a button on the form that opens at startup. Can anyone help? I would also like to close the previous form in the process.
 


Try looking up:

Form.Load
Form.Unload
Form.Activate

on MSDN
 
form2.show
form1.hide Karl Pietri
lordhuh.pota.to

 
One thing i'd suggest...if you have to do something on form2 before you can continue on form1 i'd use

form2.show vbmodal

Delton Phillips Jr.
deltonphillips@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top