How do I find out what is keeping an application from closing in task manager?

Hello and thanks in advance.

I have a program which ocasionally stays open in task manager even though the User Interface has closed.
I then need to end the process before I can restart the program.

Im thinking that somthing is keeping the application open but don't know how to find out what.
Can sombody suggest a way of finding out what component is keeping the program from closing?

Any assistanc would be appreciated.

Chuck
NicklebackAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jcimarronCommented:
Nickleback -
"occasional" problems are hard to fix.
Since you know the program which is "stuck" what happens if you shut this program down before you shut down the PC?
If I have misunderstood, perhaps some other program is causing the program of concern to "stick".  Run Process Explorer to see what else is running.
http://technet.microsoft.com/en-us/sysinternals/bb896653
0
nobusCommented:
what is occasionally?  if it happens once a week, or month, it is not easily detectable
if it happens every day, you can make a list of the programs you used (opened)  - this can help in determining the offending one
another thing that helps in such cases is a clean boot
run msconfig, select startup^tab
click on disable all
reboot to test

for services, you can do the same :
select services tab, click on HIDE MS Services - then click on disable all
also reboot to test

if the problem is gone - add the programs or services in groups, or 1 by 1 to find the culprit
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
NicklebackAuthor Commented:
When i say occasionally I’m probably being generous, it’s more like 1 out of 3 runs. I think the problem is a component the program is calling. When you run it (without doing anything) and close it everything is fine. If I run it, get it to do a few tasks, then the problem can occur.

You have given me some ideas though, Maybe if I try to narrow down the tasks the program runs and record the results so I know what is running.

I was hopeing there was some tool that can tell me what components (dlls, maybe comm objects) a program is picking up, I can then break the problem down.

What do you think?
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

nobusCommented:
taskmanager can als help then
0
NicklebackAuthor Commented:
Thanks guys

Much appreciated.
0
jcimarronCommented:
Nickleback--
You are welcome.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 7

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.