Hello everyone,

I have an off the shelve application that has some irritating behavior. Everytime you close it, it will log you out of Windows. I spoke to the vendor today and they told me that is the way it is supposed to work.

Anyway, I am wondering if there is a way in vb.net to catch this shutdown command and terminate it. I basically want to have an application or service running in the background looking for shutdown commands.

Thanks