Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to test if a floppy is inserted ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
00976706
Message ID:
00977002
Vues:
40
>Allessio
>
>There's probably a function in V8 and up, and a more sophisticated method but DISKSPACE("A") will return -1 if problem reading from the volume, e.g. if it's not in.
>
>HTH
>
Terry,

This, IMO, isn't the best way to go. Easiest is to use the WSH's FileSystemObject. Under certain versions of Windows (such as NT 4.0), you'll get an error depending on the settings. I published a tip on this sometime ago on Advisor.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform