all groups > vb.net > february 2005 >
You're in the

vb.net

group:

How to close a project (?)



How to close a project (?) Eduardo78
2/19/2005 6:05:02 PM
vb.net: I have seen several times when I close a vb application, even though it seems
to be closed when I go to the task manager the process of that EXE is still
running. How do I make sure that my app will close completely.

Re: How to close a project (?) Ray Cassick (Home)
2/19/2005 11:30:06 PM
You have to find out what resource is being held that is not letting the app
completely exit.

Are you leaving a thread running?

Do you have aform hidden that is not closing before you exit?



[quoted text, click to view]

Re: How to close a project (?) Herfried K. Wagner [MVP]
2/20/2005 12:47:12 PM
"Eduardo78" <Eduardo78@discussions.microsoft.com> schrieb:
[quoted text, click to view]

If you are using additional threads, set their 'IsBackground' property to
'True'. Otherwise you will have to terminate the threads explicitly.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
AddThis Social Bookmark Button