Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
SP2 printing and Runtimes
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement