drive letter

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • heiro
    New Member
    • Jul 2007
    • 56

    drive letter

    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
    New Member
    • Dec 2007
    • 236

    #2
    I think drive letter is automatically allotted by Window and it is the next available letter from the attached drives.

    Comment

    • leeogrady
      New Member
      • Jun 2008
      • 11

      #3
      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

      Comment

      • skygremlin
        New Member
        • Jul 2008
        • 2

        #4
        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

        Comment

        • heiro
          New Member
          • Jul 2007
          • 56

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

          Comment

          Working...