|
-
April 1st, 2001, 01:13 PM
#1
App not completely exiting?
When I unload my application it all closes yet it remains in Task Manager as "Running". I have tried using End with no avail. I also checked for forms that may not have been closed. Is it possible that some components are keeping it running? Any ideas on how to determine what is keeping it running is greatly appreciated!
Good Luck,
Craig - CRG IT Solutions - Microsoft Gold Partner
-My posts after 08/2015 = .NET 4.x and Visual Studio 2015
-My posts after 11/2011 = .NET 4.x and Visual Studio 2012
-My posts after 02/2010 = .NET 4.0 and Visual Studio 2010
-My posts after 12/2007 = .NET 3.5 and Visual Studio 2008
-My posts after 04/2007 = .NET 3.0 and Visual Studio 2005
-My posts before 04/2007 = .NET 1.1/2.0
*I do not follow all threads, so if you have a secondary question, message me.
-
April 2nd, 2001, 08:18 AM
#2
Re: App not completely exiting?
You have to check that all the form are closed and set to Nothing. That will release the memory. End statement does not release the memory.
Iouri Boutchkine
[email protected]
-
April 4th, 2001, 05:18 AM
#3
Re: App not completely exiting?
Iouri is right. And you should also set to nothing -before unloading forms!- all object/control/variable you created in your code with keyword "set..."
ie:
dim x as whatyouneed
set x = whatyouneed
or
set x= new whatyouneed
both required
set x= nothing
for a correct unload of form. Hope this help.
Special thanks to Lothar "the Great" Haensler. Come back soon, you Guru.
...at present time, using mainly Net 4.0, Vs 2010
Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|