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

new to vb.net apps 1

Status
Not open for further replies.

drew10

Programmer
Feb 26, 2002
123
0
0
US
I've been developing with asp.net using vb.net however I am new to application development. I am going to buy a book tomorrow, but I have a beginners question until I can get the book. I want to open one form and close another. I have tried:

Dim newForm As New form2()
newForm.Show()
close()

but it closes the entire application. If I don't use close(), both forms stay open.

Any help is greatly appreciated.

-drew
 
Dim newForm As New form2()
newForm.Show()
me.close()

... just a little change to ur code ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top