Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to set the default dir and search path...
Message
De
16/06/1999 23:39:11
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Divers
Thread ID:
00230621
Message ID:
00230713
Vues:
27
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform