Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to set the default dir and search path...
Message
From
16/06/1999 23:39:11
 
General information
Forum:
Visual FoxPro
Category:
Project manager
Miscellaneous
Thread ID:
00230621
Message ID:
00230713
Views:
24
>>IF TYPE('_vfp.activeproject.name')# 'U'
>> cd (justpath(_vfp.activeproject.name))
>>ENDIF
>>SET PATH TO
>>
>>I put the following code in the Config.fpw
>>
>>COMMAND= DO VFPSTART.PRG
>>
>>Does this answer your question?
>
>Well...not really, but thanks for the tip!!(something to remember!:D) Right now I 'set default to' the directory that the project is currently in from the command window. I was hoping there'd be a way to have it just be set when I open the project...

In VFP6, you can. You have to build a class from the project hook class, and specifiy your class as the hook for a given project. In the project hook's init method, you can change to the specified path-
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform