Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Path disappearing
Message
De
03/08/1998 20:07:50
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00122843
Message ID:
00123671
Vues:
21
>Bill,
>
>Can you use the .. alias to reduce the size of your path? My SET PATH for example is: ..\;..\..\;c:\program files\devstudio\vfp\tools\dftools I keep files common to all apps up one or two folders from where the app sits.
>
>>Intermittantly I discover that my path has been chopped off to 256 characters.
>>I never put the path into a variable and then restore it later, so I can't figure out what's doing it.
>>My frmBase class tries to open a table that is located at the end of my path (in frmBase.Init()), so I discover this only when I try to run a form. By that time, I have no idea what might have done it. I've been developing since the last time the form was run.

That is what I do. During development of one app I have a path to 3 different "parent" directories and all the "children" under them, plus a 4th "parent" for my housekeeping utilities. My path is "prgs,forms,..\common,..\common\prgs,..\commont\forms,..\Radius,..\Radius\prgs,..\Radius\forms..\Housekeeping,..\HouseKeeping\prgs,..\Housekeeping\forms,......etc." It gets to be 342 characters with the ".."s in it.
Bill Morris
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform