Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Exe question
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Titre:
Exe question
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
00972712
Message ID:
00972712
Vues:
50
Hi,

I was just wondering about something. I've built an application, which I want to distribute to a client with VFP on his machine. In the past, I would build a new folder for the distribution, and add the data subfolder and configuration file to that distribution folder. When I built my exe, I would save it to my development folder, and then copy it into the new distribution folder. Everything works fine when I follow that procedure. When I run the exe, the application references/uses the dbc and dbf files located in the data subfolder of the distribution folder (as it should).

However, when I build an executable and instruct the builder to save the exe directly into the new distribution folder, the application (exe) references the data folder located in my original development directory, rather than the data folder in the new distribution folder. If I copy the distribution folder to another location on my hard drive, the application becomes even more confused and cannot locate the dbc at all. In fact, it starts looking for the dbc in the top level distribution folder, rather than in the data subfolder.

Again, I have no problems when I direct the exe builder to save the new exe to the original development directory, and then copy the exe to my distribution folder. When I do that, I can even change the location of the distribution folder, and there are no problems. The exe always knows where the correct data subfolder is located. However, I run into those above problems when I don't create the build in my original development directory. Is this normal? If so, why this behavior?

Dave
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform