Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Knowing a CDROM drive
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00541751
Message ID:
00542017
Vues:
23
>>>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.
>
>FYI,
>
>DriveType() is now a VFP command and using Foxtools isn't necessary.

Yup, and I've documented that it was added to the language in 6.0. The question, however, was of such a nature (3.0 question) that it being in 6.0 didn't make a difference.
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