Hi guys !
I got such a good responce the last time I posted something here, that I might as well try again...

I have a script that is running hidden while the user is logged in. Now, this works perfect, but of course, on a WinXP/2k machine, if you log off and have any programs running, the "End program" dialogbox pops up...

Are there any way, either by using a built-in kix-fuction, COM-automated "thing", external programs or anything else to detect when the user logs off/shuts down ?