How To Use Visual Basic to Locate CD-ROM Drives (291575)
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 Q291575 SUMMARY
You can find the drive letter of any CD-ROM drive on a local computer by using the Win32 API from Visual Basic. This can be useful during scenarios such as program setup and querying a user for media.
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
180766 VBA: Sample Code to Determine CD-ROM Drive Letter
291573 How To Use Visual Basic to List Active Logical Drives
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 KB291575 |
---|
|