USB unplug

  • Thread starter Thread starter gentlerobbin
  • Start date Start date
G

gentlerobbin

I have a combo and a refresh button
The combo will be initialized with all logical drives
When unplugging the usb, my cdrom drive (F) disapears too so only
drive C, D, E (i have 3 partitions) left.

Sometimes the refresh button doesn't work as expected, I mean when I
insert my usb in again, and press refress button I can only see no
such usb drive being shown
Could someone explain this for me please ?

Thank you
 
I have a combo and a refresh button
The combo will be initialized with all logical drives
When unplugging the usb, my cdrom drive (F) disapears too so only
drive C, D, E (i have 3 partitions) left.

Sometimes the refresh button doesn't work as expected, I mean when I
insert my usb in again, and press refress button I can only see no
such usb drive being shown
Could someone explain this for me please ?

Without seeing the code, it's nearly impossible to advise anything
useful. For one thing, if the USB drive doesn't show up in Windows
Explorer, then it probably won't show up in your combo box either. As
to why it doesn't, well, isn't not a question related to C# or
even .NET in general.

Also keep in mind that it takes some time after you plugin in the USB
device before it's assigned a letter by the OS.
 
Back
Top