Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How print VFP reports inside a COM+ component
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00946988
Message ID:
00947253
Vues:
17
Yes:

COM+ DLL Code:

lParameters lcTitulo,lcEmpresa,....

Local oGyGCliente,lnumMesTrabajo,lcTablaTemporal,lcPDF ,gIniRutaInformes,oGyG

oGyG=CREATEOBJECT("gygservidorole.clsconexion")
oGyGCliente=createobject("GyGClienteOle.GygCliente") //This is the EXE, no inCOM

lcPDF = oGyGCliente.imprimir_reporte_pdf(lcSistema.....)

oGyGCliente=null
oGyG=null

RETURN lcPDF

In the EXE Component

REPORT FORM &pstrNombreReporte NOCONSOLE TO PRINTER NODIALOG
The Life is Beautiful!

Programmer in
Delphi, VS.NET
MCP
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform