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.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

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.
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

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?
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

taskmanager can als help then
NicklebackAuthor Commented:
Thanks guys

Much appreciated.
You are welcome.
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.