Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking status of floppy drive
Message
De
19/01/1997 19:06:06
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00017618
Message ID:
00017829
Vues:
67
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform