Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking If Drive A: Is Ready
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00704042
Message ID:
00704119
Views:
24
>How do I determine if drive A: has a disk in it>
>
>I tried this code, but the error handler fails
>to trap the error
>
>ON ERROR MESSAGEBOX(ERROR())
>ADIR(a, "a:")
>ON ERROR

Kevin,

this works as well
if( DiskSpace('a:') >= 0 )
     && diskette in
endif
Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform