>>what instruction have i to use in vfp5.0 to verify if a diskette its inside the floppy unit of the computer??
>>thanks
>
>DISKSPACE("A:") returns -1 if no diskette. But I've heard that there is a problem with this on NT.
Yep; it can be coded around with the API, but using the IsReady() method of the Drive subobject of Scripting.FileSystemObject is cleaner.