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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C# Program Form Closes But Still Is Listed In "Task Manager"??

Status
Not open for further replies.

Olimits7

Technical User
Feb 17, 2003
44
US
Hi,

I have a C# program that I run on my computer and it works fine. I minimize the program to the taskbar, and I usually step away from my computer as the program runs.

However, when I return to my computer the program form closes on me and isn't listed in the taskbar anymore, but I can still see the *.exe running in the "task manager". It looks like the program is still running fine from the "task manager" but since the form is closed I can't tell how much progress the program has made...

1. Has anyone ever experienced this before with a C# or any other program?
2. Does anyone know why this happens?
3. Is there a way I can open the program again from the current *.exe that is still running?

Thank you,

olimits7
 
If you are the developer, run your code thru FxCop and make sure that you are properly disposing all your objects that implement IDisposable.

That's often a reason for 'ghost' processes.

Chip H.


____________________________________________________________________
www.chipholland.com
 
Are you using Close() or Hide()? If you hide the form, it is still there just "hidden". Also as a previous poster stated, make sure you are disposing all resources properly.
 
When you minimize, are you minimizing to notification area? ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top