Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

  • Leaders
Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...