Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking status of floppy drive
Message
From
19/01/1997 19:06:06
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00017618
Message ID:
00017829
Views:
63
>I am in VFP 3 on Windows 3 platform. How can I check to see if the floppy drive is ready from within my application. The users are loading from disks and I want to make sure they don't get the ugly Windows generated CANNOT READ FROM DRIVE error.

Try this code it will work with no error from VFP

if ! file("A:\nul")
wait "no disk" window
else
wait "disk present" window
endif

Michel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform