Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with app
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01351476
Message ID:
01351495
Vues:
21
This message has been marked as a message which has helped to the initial question of the thread.
Hi Naomi,

>We want to include an app into our project. We added this app to the project, we also put it in the Data directory, so it should be in the path. In the form's Load we have this code
>
>do system.app
>
>And the system asks where the app is located the first time we run the exe. The question is - how can we make it to work? And what should we do in terms of distribution this application? Currently new executable is being copied to client's computer using special installation program.

If SYSTEM.APP is in the application path it should find it. When you added it to the project, did it get flagged as excluded? APPs can be part of your project but must be flagged as "Excluded". Just for debugging purposes, you may want to include a code similar to this in your Form's load:

IF NOT FILE("system.app")
MESSAGBOX(SET("Path"))
ENDIF

or just include th path with the DO command:

DO data\system.app

If your client is only getting updated EXE's and you want to include the library in the EXE, include the source code for SYSTEM.APP into your project (system.prg, system.drawing.prg, etc...) and call DO SYSTEM.PRG instead.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform