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:
00803973
Views:
7
Open Regedt32 and find the class name in the HKEY_CLASSES_ROOT tree. You will most lokely have to find the ClsID and then open the CLSID node to find that ID. Under that , you should find the executable that is being used to instantiate the class. Make sure it's the EXE and not an old DLL.

Good luck!

>>>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,
>
>That is what I thought, but I am running through an EXE. I am stuck! Any other suggestions?
>
>Thanks,
>Kevin
Larry Miller
MCSD
LWMiller3@verizon.net

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

Click here to load this message in the networking platform