Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running the app from within foxpro
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Running the app from within foxpro
Divers
Thread ID:
00090589
Message ID:
00090589
Vues:
71
Hi all! Yes, it's me again. :)

The way this program was set up when I got here, all the tables are external (ie not part of the project) and in a different directory with the executables. To run the program, I need to compile it into an .exe, and then run a batch file that copies it from the development directory into the directory it will run from. Then I have to run the executable.

Because of this, I can't use the debugger. Besides that, it's a pain to go through all that everytime I fix even the tiniest error.

Since I'm converting to VFP 5, I thought I'd take the time to get things set up right. The problem is that I'm not sure what needs to be done.

When I run the executable, it looks at config.fpw and finds that the data is in C:\tripsoft\data. (The executables are in C:\tripsoft)

When I have it run after building, it's running the executable that it makes in the development directory. I put a config.fpw in there, but it doesn't seem to use it.

So, is there a way to tell the program that the data is in another place? Or do I need to make all the tables part of the project and put them in the development directory?

Thanks much,
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform