Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting the starting directory of getfile()
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00410663
Message ID:
00410668
Views:
16
>Is there any way to set the starting directory of getfile()? if not are there any good replacements for getfile that would allow me to do this? Thanks!

Basically, you can use SET DEFAULT TO (< path >) to control the initial directory GETFILE() displays. Of course, this involves getting the current default, changing it, then restoring it. It's probably easier to use the Common Dialogs ActiveX control, which has an InitDir property that it will use. IMO, it also gives you more control over the dialog than either GETFILE() or PUTFILE().
George

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

Click here to load this message in the networking platform