Thread: Visual Basic Question?

  1. #1
    Registered User
    Join Date
    May 2002
    Posts
    15

    Visual Basic Question?

    Does anyone know how to write a Visual Basic program that will print out the drive or device name of a file, given the full path name?

  2. #2
    Used Registerer jdinger's Avatar
    Join Date
    Feb 2002
    Posts
    1,065
    Try the forum's at www.vbexplorer.com

    You're more likely to get a better answer there.

  3. #3
    Registered User
    Join Date
    Jul 2002
    Posts
    14

    or ...

    www.vbforums.com

    you will get a response within minutes.
    hope this helps

    maybe this helps too:


    Function DriverLetter(FilePath as string)
    driverletter = mid(FilePath,0,3) 'only the first 3 digits , like"c:\"
    end function
    Last edited by The-Guy; 07-03-2002 at 09:34 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. more then 100errors in header
    By hallo007 in forum Windows Programming
    Replies: 20
    Last Post: 05-13-2007, 08:26 AM
  2. We Got _DEBUG Errors
    By Tonto in forum Windows Programming
    Replies: 5
    Last Post: 12-22-2006, 05:45 PM
  3. Replies: 1
    Last Post: 04-20-2002, 06:49 AM
  4. Moving from Visual Basic to Visual C++
    By Unregistered in forum C++ Programming
    Replies: 3
    Last Post: 04-10-2002, 09:57 PM
  5. Visual Basic
    By nsk in forum C++ Programming
    Replies: 1
    Last Post: 11-23-2001, 07:36 PM