Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing a report in COM+ fails
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00889422
Message ID:
00889617
Vues:
18
Claude,

thanks. I'll have to do some re-designing. I want to create a dll and register it with com+. I will create a seperate exe (and register it accordingly) that will only hold the report commands....

Let's hope this is in VFP9. It would make things a lot easier.

Regards,

Ron

>Ranjan,
>You'll have to create a separate COM .EXE that has the REPORT FORM ... in it. You would then do a createobject [that COM .exe] and call that method from within your VFP mtdll - this will work.
>Supposedly VFP 9 will allow printing from a VFP mtdll that will do away with this workaround ...
>>I am writing a com-object with VFP8 that needs to print something with a normal VFP report. However, the
>>REPORT FORM (cReport) TO FILE (cOutputfilename) NODIALOG
>>command is failing after I have registered the DLL with component services.
>>If I run the same from within VFP8 it works.
>>
>>Can this be done? If so, how.....
>>
>>Any help is appreciated.
>>
>>Thanks,
>>
>>Ron
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform