Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Coding w/ various directories
Message
 
 
À
22/08/2000 12:20:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00407809
Message ID:
00407816
Vues:
25
>I am having trouble with users installing my app in a directory other than the one in which it was created. For example if I created it in c:\myapp\ and the user installs it in c:\soft\apps when they run the app they get a message saying the data c:\myapp\data.dbf (or whatever dbf is appropriate) could not be found. It seems as though all of the controls (combos, lists etc) are somehow linked to the directory where the data resided when the forms were created. I would rather have the user install it where they want. I'm sure this is a simple problem but any help would be greatly appreciated

As long as the table is located on the same physical drive as the form with the controls, VFP will store a relative path. If you keep the same relative path structure you should be okay.

If the table is located on a different volume/drive then VFP stores the entire path. Is this the case in your application?
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform