How to stop shut down/logout if a usb is still attached

Answered How to stop shut down/logout if a usb is still attached

  • Friday, August 31, 2012 6:46 PM
     
     

    Hi,

    I would like to write a program that stops the computer logging off if the the usb port is not empty.

    Can anybody tell me which direction I should set off in to do this?

All Replies