>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