Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Knowing a CDROM drive
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00541751
Message ID:
00542011
Views:
20
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform