VB.NET – Detecting when a USB drive is connected and getting the drive letter « Cjwdev
The example code below will detect when a USB drive is connected and will then look for a file named test.txt in the USB drive. You can also see this code if you look at my post on vbforums here (see the later posts for some corrections to the code in the...