Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adobe Acrobat PDF Reader control returns 0x80004005 erro
Message
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01189281
Message ID:
01189536
Views:
10
>Well I think I've got it.
>
>In the HTML to be rendered by the IE Webbrowser control:
>
>
><html>
><body topmargin=0 bottommargin=0 leftmargin=0 rightmargin=0 scroll="no" style="border:1px;border-style:solid;margin:0px;">
><object id="objPdf"
>        classid="clsid:CA8A9780-280D-11CF-A24D-444553540000"
>        height="527" width="852">
></object>
></body>
></html>
>
>
>From a command button on the VFP form, the Adobe Acrobat Reader functions can be called as such:
>
>
>	thisform.browser1.document.parentWindow.objPDF.LoadFile("mypdf.pdf")
>
>	thisform.browser1.document.parentWindow.objPDF.setZoom(125)
>
>
>... and so on.
>
>Adobe function reference here (page 106-119):
>http://www.adobe.com/devnet/acrobat/pdfs/iac_api_reference.pdf

Thanks for sharing.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform