Opening External Drive

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lee123
    Contributor
    • Feb 2007
    • 556

    Opening External Drive

    is it possible to open up a certain drive like a "External Hard Drive" with a "Button" or in "Form Load" in code without using the "DirListBox "

    lee123
  • vb5prgrmr
    Recognized Expert Contributor
    • Oct 2009
    • 305

    #2
    Yes, if you know the drive letter...



    Good Luck

    Comment

    • lee123
      Contributor
      • Feb 2007
      • 556

      #3
      i know i asked a stupid question but how would i go about doing this When a form loads..

      lee123

      Comment

      • vb5prgrmr
        Recognized Expert Contributor
        • Oct 2009
        • 305

        #4
        What do you want from the drive? If searching for a file you could use the Dir function...

        Now, if this drive is a USB drive you may want to look at the GetLogicalDrive String API along with the GetDriveType API...

        They are in help or you could use your friends (yahoo, google, ask, answers, bing) to search for exampls on the web...



        Good Luck

        Comment

        Working...