Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I need to detect a zip disk
Message
De
11/07/2002 11:33:29
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
I need to detect a zip disk
Divers
Thread ID:
00677567
Message ID:
00677567
Vues:
71
I need to detect whether a zip disk is or is not in its drive, in the server PC, in a W98 LAN. All machines in this LAN are W98.

The following works only on a local machine, but fails miserably if the zip drive is on the server.

o = create('scripting.filesystemobject')
for each dc in o.drives
? dc.driveletter, dc.drivetype, dc.isready, dc.sharename
next


? o.Drives('G').IsReady

( the server PC is mapped in the "terminal" PC as G: )
Rafael Copquin
Treasurer - Microsoft Users Group of Argentina (MUG)
www.mug.org.ar
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform