Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How print VFP reports inside a COM+ component
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00946988
Message ID:
00947253
Views:
18
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform