Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Testing for drive or device can write data
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01214781
Message ID:
01214784
Views:
8
>Is there a way to test that a device is capable of writing data before trying to write to it and get a program error? I have clients who don't know or understand that you can't write to a distribution CD but they select it from the directory and then my program tries to write to it and then displays program errors.

Look at http://www.berezniker.com/display/VFP/Enumerate+Available+Drives though this is not exactly it, but may be a starting point.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform