Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 9.0 Runtime Printing
Message
De
29/12/2006 13:26:34
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
29/12/2006 13:17:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01180931
Message ID:
01180935
Vues:
17
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform