ejecting a USB flash drive RRS feed

  • Question

  • I'm developing an application in Visual Basic. It detects when a USB Flash Memory Device is connected (by using a timer that ticks every 5 secs and counts the number of drives on my PC) and copies certain files to the Hard Drive. The files are mostly Flash animations and the application is supposed to start playing the files.

    The thing is I need to "eject" the USB Flash Memory from my PC, because if I don't the timer will keep searching for files on the USB drive and copying them once and once again.

    Please if someone knows how to "eject" usb drives from a PC with VB.Net 2005 please help me...

    Thursday, August 31, 2006 11:21 PM

All replies