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:
00947303
Views:
13
Looks good to me - I guess it's possible this setup doesn't work with COM+. I know it works without COM+...
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform