Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I need to detect a zip disk
Message
From
11/07/2002 11:33:29
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
I need to detect a zip disk
Miscellaneous
Thread ID:
00677567
Message ID:
00677567
Views:
69
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
Next
Reply
Map
View

Click here to load this message in the networking platform