Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 9.0 Runtime Printing
Message
From
29/12/2006 13:26:34
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
29/12/2006 13:17:57
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01180931
Message ID:
01180935
Views:
16
>I have finished a project and built a EXE file. Under the full-blown version I can print all of my reports without any issues. When I run the EXE version all of my reports come back with "invalid path or file name" Listed below is the code I am using. Again, they work find under VFP its just the runtime EXE I am having issues with. Any help would be appreciated....
>
>REPORT FORM reports\TRAIN_THERM TO PRINTER PROMPT NODIALOG preview FOR thisform.txtTrainingNo.Value = narcs.train_no

Is reports folder under the folder where exe is? A simple solution would be adding a text file called 'config.fpw' in exe's folder with a line:

path="c:\some path\reports"

If you included reports in your project then their location would be irrelevant.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform