>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only