Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Knowing a CDROM drive
Message
 
À
09/08/2001 10:04:09
Napoleon Yam
Princess Cruises: Emerald Princess
Caribbean, Philippines
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00541751
Message ID:
00541767
Vues:
12
>Greeting to all,
> I'm making a program in VFP 3.0 to know if a CDROM drive exist in a pc then if it detects it my program will call the program to write on a cd.
> My problem is I don't know how to tell VFP to check for a CDROM drive and knowing the CDROM drive letter and place it into a variable.
> I'm trying to make an archival program in vfp that will archive to a CD.
> Is it possible to make it in vfp 3.0?
>
>
Nap,

Foxtools has a function, DriveType() that will tell you this in 3.0. If using the library isn't an option, you can use the Win32API call GetDriveType() to return the same information.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform