I want to make a vb6 project that could disconnect the pen drive from my computer and i could change the drive letter its using (i.e , from F:\ to Z:\)? Do you have sample codes that could do this stuff?
Pls help me
I dont know how to change within vb, but it is possible to assign drive letters through windows.
To do this (win xp):
control Panel; Admin tools; Computer Management - Disk Management - Then right click, change drive letter/paths
It is possible in 98, cant rem off hand but google will know!
I am trying to add the disconnect function to one of my apps as well. Except I am copying data off a thumb drive and want to auto disconnect the drive after all the data has been copied...
Basically:
- Copy the full thumb drive to a pc
- Auto disconnect when finished
- Window opens saying that this is complete..
I don't want the user to have to manually disconnect - just pull out the drive when done..
Comment