Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need to detect a CD ROM Drive
Message
From
13/02/2002 21:14:16
 
 
To
13/02/2002 17:06:05
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00619749
Message ID:
00619840
Views:
12
>Hi.
>
>I need to find a simple function, object, class or whatever that will help me detect any CD ROM drives on the users system and give me the drive letter.
>
>Has anyone had success with such a function, and where can I get a copy of it?

The WSH Scripting.FileSystemObject offers methods to check whether there is removable media mounted, the tape of drive, and if the drive is ready. See the links in my sig or the articles that George Tasker and I wrote for VFUG on the WSH at www.vfug.org

>
>Thanks in advance
>
>Bob Bartel
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform