Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Project Builder
Message
De
17/08/1996 00:06:56
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
Divers
Thread ID:
00005620
Message ID:
00005927
Vues:
29
>I want build a .EXE file in FPW2.6. To do tjhis, i must build a project with all the files i want include in my EXE. But when i do this, all the modification that i make to my project don't work. That means that if i exclude a file in my project, when i build the exe file from this project, the file is included in the exe file. I disable the rebuild and display error options before i make the exe file but still dosn't work.
>How can i do to create an EXE file with the file that i want and not with all the related files on my program?
>
>Thanks.

I understand that there are files (that are referenced by a file from the project) that you don't want to include in the project.

Try the following trick (using macrosubstitution):
Be AFile.prg the file you don't want to be included automatically in your project. In the file that calls AFile replace the command:
do AFile
with
AFileTrick="AFile"
do &AFileTrick

Of course, this is only a simple example. I'm sure you can make the same trick for any other situation (reports, screens, etc.).

Good luck!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform