Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP : Determine whether a floppy disk is inserted or not
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00322646
Message ID:
00322960
Views:
25
>>>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).
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform