Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I need to detect a zip disk
Message
From
13/07/2002 10:36:15
 
 
To
12/07/2002 01:19:03
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00677567
Message ID:
00678391
Views:
30
Thanks Al, but I solved it thus:

local cZipDrive,lSpace

cZipDrive = thisform.cZipDriveLetter && "G:"

set default to &cZipDrive

lSpace = diskspace()

set default to c:

if lSpace = -1 && zip disk missing from drive
messagebox("INSERT ZIP DISK",16,"ERROR")

else

*** (action to follow if zip disk is in place)

endif

Regards
Rafael Copquin
Treasurer - Microsoft Users Group of Argentina (MUG)
www.mug.org.ar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform