Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Valid Path?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00921929
Message ID:
00922395
Views:
17
Hi Barbara,

Thanks for the suggestion.

TFISHER

>>Right now, I am using an IF..ENDIF to see if the path is valid. If it is not, I am using PUTFILE(). If you have a better suggestion, I am all ears!
>>
>
>Not sure if this is a better suggestion, but for this situation, I created a composite class I call cmpSelDirFile. It has a textbox in which the user can enter the path, plus a button with binoculars that will use GetFile to search for a file or directory. It doesn't check that the path is valid, but you can just add RETURN DIRECTORY('This.Value') to the Valid of the textbox. You can download the class from http://www.peisch.com/downloads.html
Thanks,

TFISHER
Previous
Reply
Map
View

Click here to load this message in the networking platform