Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Knowing a CDROM drive
Message
 
To
09/08/2001 10:04:09
Napoleon Yam
Princess Cruises: Emerald Princess
Caribbean, Philippines
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00541751
Message ID:
00541767
Views:
15
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform