Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Valid Path and Filename routine
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00709918
Message ID:
00709929
Views:
14
This message has been marked as a message which has helped to the initial question of the thread.
>I am using the inputbox to let the user type in a path and file name to save a cursor to an excel file. Does anyone have a routine to make sure that it is a valid path and filename?
>
In addition to Sergey's suggestion, you might try displaying the path in the textbox, and if the textbox receives focus, trigger a PUTFILE() and assign the results to the textbox's .VALUE property, never using the textbox directly.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform