Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File locations
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Titre:
Divers
Thread ID:
00602824
Message ID:
00602826
Vues:
31
>Hi
>
>One thing I have never quite understood is why I have to keep changing my default diectories to make sure that I can access resources (eg. class libraries that I have added to the project) this isn't a problem once the project is built but why doesn't the framework know where it is if it is part of the project.
>
>This is kinda frustrating when in order to use createobject I have to load the library which I am frequently already using because my form is derived from an object in the same library.
>
>Perhaps I am missing something basic, yet again. Ho hum!!!
>
>regards
>Geoff Scott


I think I understand what you mean,
When looking for libraries etc, FoxPro looks along the current 'PATH' (not the windows based path)
type
? SET("PATH")
from the command window to see what your path is.
To set it to something else you can do
SET PATH TO C:\MyPath;C:\MyDevelopmentDir\MyClasses;etc
or in your config.fpw file add (Usually in the HomeDir for each app)
PATH=C:\MyPath;C:\MyDevelopmentDir\MyClasses;etc
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform