Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp report to pdf
Message
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00803934
Message ID:
00803956
Views:
6
>I am trying to use Rick Strahl's example of transforming a vfp report into a pdf doc and show it through the browser. (http://www.west-wind.com/presentations/pdfwriter/pdfwriter.htm). I can get it to work through vfp, but when I try to run it through my asp page, I am getting a user interface operation not allowed error. I do have SYS(2335,0) set. It is crashing on the line in the wwPDF.prg that says:
>
>REPORT FORM (lcReport) &lcExtraReportClauses NOCONSOLE TO FILE &lcTFile
>
>
>I am trying to do this kinda stuff for the first time (very cool stuff). Does anyone know what I'm missing here? Any help greatly appreciated!
>
>Thanks,

Kevin,
If you are using a COM component, no UI can be included in it. The REPORT command puts up a status window that causes the error. Compile your COM server into an EXE instead of a DLL and you should be OK.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform