Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SP2 printing and Runtimes
Message
De
24/10/2009 17:46:54
Tim Muller
Innovative Solutions, Inc.
West New York, New Jersey, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
SP2 printing and Runtimes
Divers
Thread ID:
01431255
Message ID:
01431255
Vues:
124
I am trying to distribute my app using VFP 9 SP2.

As a test I put the EXE and the runtimes in a directory (say XxxDemo) on my development machine. Everything is fine until I try to run a report that uses *:EFFECTS FORECOLOR. Reports that do not use the Report Listener work just fine when run from the XxxDemo folder. The reports that use the Report Listener don't run when the EXE is in the XxxDemo folder with the Runtimes. If I remove the Runtimes from the XxxDemo (they are still in the Common Files\Microsoft Shared\VFP folder 'cause this is my development machine), my Report Listener reports now run without issue.

The Runtimes I am planning to distribute (and are therefore in XxxDemo) are GDIPlus.dll, msvcr71.dll, vfp9r.dll, vfp9REnu.dll and vfp9t.dll. The vfp*.dlls are all dated 10/15/07.

My code for running the report is

SET REPORTBEHAVIOR 90
loListener = CREATEOBJECT('EffectsListener')
loListener.OutputType = 1

REPORT FORM PurchaseOrder TO PRINTER PROMPT PREVIEW OBJECT loListener

Any thoughts?


Tim
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform