Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exe Remains in Task Manager after close

Status
Not open for further replies.

tc3596

Technical User
Joined
Mar 16, 2001
Messages
283
I have a VB 6 application which runs several reports in the morning automatically. When I close the application, Task manager still shows the process running. Any thoughts. I looked through my code and closed recordsets and command objects.

rst.close
set rst = nothing
set cmd = nothing

Any thoughts?
 
What about tidying up form references, connections objects and other objects?

Take Care

Matt
If at first you don't succeed, skydiving is not for you.
 
I closed my db connection and it went away. Hope that's it. Usually when I check the program in the morning, it has multiple instances of the exe running. Thanks for your assistance. Went Skydiving last year for the first time...woohoo!!
 
You might also try sticking the End command in after you close any connections to ensure that the application closes peoperly.

Mark

The key to immortality is to make a big impression in this life!!
 
'End' doesn't ensure that the application closes properly. Far from it...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top