How To Use Visual Basic to List Active Logical Drives (291573)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q291573 SUMMARY
You can determine which drive letters are in use on a local computer by using the GetLogicalDriveStrings Win32 API. This list of drive letters will be the drive letters of all active drives on the local computer, including floppy drives, hard disks, mapped drives, and other drives that are mapped to a drive letter.
REFERENCESFor additional information, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
190000 How To Get Started Programming with the Windows API
291575 How To Use Visual Basic to Locate CD-ROM Drives
196141 PRB: Problems Using Intrinsic File System Controls
The Visual Basic Programmer's Guide (available on MSDN Online, http://msdn.microsoft.com)
Modification Type: | Major | Last Reviewed: | 4/5/2006 |
---|
Keywords: | kbAPI kbhowto kbSample KB291573 kbAudDeveloper |
---|
|