Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File locations
Message
De
10/01/2002 07:13:56
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Titre:
Divers
Thread ID:
00602824
Message ID:
00602901
Vues:
23
>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

If your projects have similar structures, you can use relative paths in SET PATH.

Example:
SET PATH TO "c:\MySharedTools;Forms;Reports;Menus"
This would work for any folder, like c:\MyCoolProject, if this folder has the specified subfolders (c:\MyCoolProject\Forms, etc.).

HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform