Results 1 to 2 of 2

Thread: In deep Schtum

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2000
    Posts
    3
    I need a routine that will output the current drives present on a computer. I need the output to display, C:, D: etc.



  2. #2
    Lively Member Ishamel's Avatar
    Join Date
    Nov 1999
    Location
    Edinburgh, Scotland
    Posts
    112
    If its just the available drive letters you are after, you could use an invisible Drive control with this code.

    Code:
    'Loop through all available drives
    For iLoop = 0 To Drive1.ListCount - 1
        'add the drive letter to a list control
        List1.AddItem Left(Drive1.List(iLoop), 2)
    Next

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width