close form

yogi21

Newcomer
Joined
Apr 14, 2003
Messages
6
hey
i want to close 1 form in my project. but when i type in "end" the whole project is closed, but i just want the one form to be closed.
thanx. what can i do
yogi
 
Change End to Me.Close().

I don't know if they made End any better in VB.NET than it was in VB6, but I can tell you that in earlier versions of VB End should never be used. For this reason alone I personally would advise against using it in .NET. There are many better ways of terminating an application I am sure.
 
Back
Top