yogi21 Posted April 14, 2003 Posted April 14, 2003 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 Quote
Leaders Squirm Posted April 14, 2003 Leaders Posted April 14, 2003 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. Quote Search the forums | Still IRCing | Be nice
*Gurus* divil Posted April 14, 2003 *Gurus* Posted April 14, 2003 It's equally bad in .NET. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.