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

Fire An Event When the process is closed

Status
Not open for further replies.

MrCSharp

IS-IT--Management
Jun 7, 2005
59
CA
Does anyone know what event I can use to run a method when the process is killed. Basically I want to register to a server that the client left if they kill the process.
 
i guess it would all depend on how they killed it. If they used Task Manager to kill the process, I do not think you can capture that type of request. Are you offering them a way to kill the process?
 
Could you just create a Windows Service and on the OnStop event fire your event perhaps in an event log or email message?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top