Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mix .EXE and .APP - problem with showing report
Message
De
14/09/2014 08:12:06
Darjo Remec
Naturalis d.o.o.
Trzin, Slovanie
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Mix .EXE and .APP - problem with showing report
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01607502
Message ID:
01607502
Vues:
157
Hello!

I have a problem with showing reports in Visual FoxPro.

My application consists of an .exe file which contains most of the code and an .app file that I run on start to add some more functionality accessible via a menu.
Each of these two files have reports included in them.

When I tried to show a report from the code in APP I got a File not found error. As a workaround I've excluded the report files from the APP project and placed it somewhere on the disk. So when I create a report I use it's physical location on the disk. And this works.

What also works is if I show a report first from the EXE code and then from the APP code.
What doesn't work is if I show a report first form the APP code (it shows as expected) and then from the EXE code later (I get a File not found error).

The solution would be to exclude ALL the reports from both projects and put them on the disk but that would be extremely impractical.

Does anyone have any ideas what could be causing this?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform