Connecting Tech Pros Worldwide Forums | Help | Site Map

drive letter

Member
 
Join Date: Jul 2007
Location: Philippines
Posts: 54
#1: Jul 25 '08
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

smartchap's Avatar
Familiar Sight
 
Join Date: Dec 2007
Location: Lucknow, India
Posts: 194
#2: Jul 26 '08

re: drive letter


I think drive letter is automatically allotted by Window and it is the next available letter from the attached drives.
Newbie
 
Join Date: Jun 2008
Posts: 11
#3: Jul 26 '08

re: drive letter


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!

Hope this helps (well confirms its possible!)
Lee
Newbie
 
Join Date: Jul 2008
Posts: 2
#4: Jul 27 '08

re: drive letter


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..

thanx
Member
 
Join Date: Jul 2007
Location: Philippines
Posts: 54
#5: Jul 28 '08

re: drive letter


thanks for reply guys...
I hope that there's someone here knows how to do this stuff....
Reply