Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mix .EXE and .APP - problem with showing report
Message
From
14/09/2014 08:12:06
Darjo Remec
Naturalis d.o.o.
Trzin, Slovenia
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Mix .EXE and .APP - problem with showing report
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01607502
Message ID:
01607502
Views:
156
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?
Next
Reply
Map
View

Click here to load this message in the networking platform