Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use GETFILE() to retrieve file from different directory
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00261098
Message ID:
00261192
Views:
29
>I need to get a file from a different directory than the current directory. I have 2 global variables for file path and dbf path. Trouble is the GETFILE() does not allow for path names, just extensions. I try not to use "set default path to". Is there another way?
>Thanks, Chuck

Hi Chuck,

You can use the Common Dialogs ActiveX control's ShowOpen or ShowSave to get this. The control has an InitDir (Initial Directory) property that you can set.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform