Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing a report in COM+ fails
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00889422
Message ID:
00889759
Views:
13
Ranjan
The EXE only contains the printing class, with methods that receive a key as parameter and prints the specific record, then from my COM+ web service i just call these methods.

Jaime

>Jaime,
>
>thanks. I will do some re-designing so the report is present in de -exe and the rest in a dll.
>
>Can you give me an insight on how you have solved this? Did you create a class with methods that only starts the reports or have you created some more logic around this.
>
>Regards,
>
>Ron
>
>>I think REPORT command works only in out-of-process COM Executables, but you can put your REPORT command in there, and call it from your COM+ DLL ( i use this method in Web Services ).
>>
>>HTH
>>Jaime
>>
>>
>>>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
Why do programs stop working correctly as soon as you leave the Fox?
Previous
Reply
Map
View

Click here to load this message in the networking platform