Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Diskette
Message
From
02/03/2000 19:24:08
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00340916
Message ID:
00340968
Views:
26
>>>what instruction have i to use in vfp5.0 to verify if a diskette its inside the floppy unit of the computer??
>>>thanks
>>
>>DISKSPACE("A:") returns -1 if no diskette. But I've heard that there is a problem with this on NT.
>
>Yep; it can be coded around with the API, but using the IsReady() method of the Drive subobject of Scripting.FileSystemObject is cleaner.

WSH strikes again! Thanks, Ed.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform