>>>>Hi,
>>>>
>>>>Can VFP check whether a floppy disk is inside the drive or not?
>>>>It can be done in Foxpro 2.x using ISDISKIN.BIN
>>>>
>>>>Rgds
>>>
>>>Hi Ralf,
>>>
>>>In addition to Ed's reply, DISKSPACE("A:") will return -1 if no disk is inserted (or some other error occurs).
>>
>>Hi George,
>>
>>Is that on a Win95/98 machine? I tried it on a WinNT machine and got an NT system error that ON ERROR would not trap. Or is this what happend on Win95/98 too?
>>
>Hey Bill,
>
>Check this article in the MS KB Q191501. It mentions that there is a problem with. It also provides a workaround (call the SetErrorMode() API call).
Read it. Interesting. So under Win98 you get no system error at all. NT is a picky beast ... but theoretically, that's good. :-)
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.