Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem finding table if user changes directory
Message
De
02/05/2000 12:02:44
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
02/05/2000 11:53:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00365128
Message ID:
00365132
Vues:
16
>I am having a hard time with what should be an easy task. I an app I wrote, I did not 'hard code' any paths for data. However, when I try to install the app to a 'user defined' directory, I get error messages stating that the table does not exist. It does exist in the user defined directory. The form is looking for it in the directory I created it. For example, I develop in the c:\vfp\dev\ directory and the user installs in the c:\user\program\ directory. Even though the .dbfs exist in this directory the forms are looking for them in the dev directory. HELP!!! Thanks for any help.


Michael,
set path ? What's app's startup dir ?
A config.fpw in the same dir as exe might cure it :

path = data;reports

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform