Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Distribution Disk
Message
 
 
À
15/01/2001 12:23:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00463832
Message ID:
00463851
Vues:
11
>I trying to build a distribution disk from the setup wizzard provided by VFP and I encountered one big problem. The problem is that the main application is looking for several database tables in the root directory, when it's suppose to look in the \data directory under the root directory.
>
>C:\xForm <- Main executable
>C:\xForm\Data <- All the databases are stored
>
>How could I build the distribution disk so it work the way I wanted? Any help or suggestion is appreciated.

Hello, Mathew.

I think the problem is in the application, not the distribution pack.
If you have your data in a DATA subdirectory, just set the path there in the application startup:
SET PATH TO DATA
Better yet, you can use some kind of configuration file to tell the app where the data directory is.

Maybe it works ok at your development machine beacuse you set the path in Options dialog (under Tools menu). But you don't have this configuration ported at the distribution.

Hope this helps.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform