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?
Try this out.
Detecting USB Drive Removal in a C# Program
http://www.codeproject.com/Articles/18062/Detecting-USB-Drive-Removal-in-a-C-Program
chanmm
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?