Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking If Drive A: Is Ready
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00704042
Message ID:
00704119
Vues:
25
>How do I determine if drive A: has a disk in it>
>
>I tried this code, but the error handler fails
>to trap the error
>
>ON ERROR MESSAGEBOX(ERROR())
>ADIR(a, "a:")
>ON ERROR

Kevin,

this works as well
if( DiskSpace('a:') >= 0 )
     && diskette in
endif
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform