Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getfile()
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01668266
Message ID:
01668272
Views:
55
>GETFILE() uses the current directory. So - change the current directory then reset it when you're done.
>
>You have to save the original directory anyway because all of VFP's (Windows' really) folder functions change the path when you pick a file or folder from a new location.
>
>
>lcOldPath = SYS(5) + CurDir()
>
>CD (lcStartPath)
>lcFile = GETFILE(...)
>
>CD (lcOldPath)
>
>
>+++ Rick ---
>

Rick,
Thanks
Koen
Previous
Reply
Map
View

Click here to load this message in the networking platform