>>>>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?
>>
>>Bill
>
>Win98 SE. I don't have an NT box to test it with. The docs don't say that there may be a problem with NT. Just that -1 is returned. It may be an issue with the ersion/SP of NT that you're running.
>
>Maybe Ed R. knows something about this.
NT 4 SP6 6 pops a messagebox with abort retry ignore. Same if you use low-level I/O. oFSO.Drives('A:').IsReady works just fine...