Question : End task vs Form Closing/Closed event

Hallo, I am writing a winform program in VB.Net.

I want to run another program if it is "end task" from task manager otherwise it will simply close. Can I trap the event end task of a exe? Or any other idea to achieve that? We are using XP SP3 for your referrence

Thanx

Answer : End task vs Form Closing/Closed event

You can create a job (like you can do in control panel) which runs the monitor process every x minutes or maybe seconds if windows allows you to do.

An other solution could be to use a service that runs as SYSTEM.

Or you simply create a driver.

Or try to use Group Policies to prevent the user from killing the task
Random Solutions  
 
programming4us programming4us