Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Directory questions
Message
From
17/11/1998 16:10:54
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00158502
Message ID:
00158505
Views:
17
>Is the dir that the executable was started from automatically the default dir if there's no config.fpw?
>
>If not, is there a way to determine what dir the exe was started from?
>
>Can you set the properties found in config.fpw, such as setting the temp file dir from within the app rather than the config.fpw?
>
>Is there some way to get CD, MD, RD to work with dirs that have spaces in their names?
>
>I think that's it for now. :)
>
>Thanks,
>
>-Michelle

It can be done pretty simple:
***Main.Prg
oApp=CreateObject("clApp")
oApp.startdir=SYS(5)+CURDIR()  && and use it throughout the application
*****
RETURN

DEFINE Class clApp As Custom
 .startdir=""
 **** other properties
ENDDEFINE
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform