Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need to detect a CD ROM Drive
Message
De
13/02/2002 21:14:16
 
 
À
13/02/2002 17:06:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00619749
Message ID:
00619840
Vues:
13
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform