Hai,

I've to detect when the system is shutdown or logged off using VB. Could anyone help me out with the code for this. or suggest some APIs used

Thank you,

Regards,
K. Sripriya