Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Acrobat Automation
Message
 
To
27/02/2003 10:36:20
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00758779
Message ID:
00759132
Views:
15
Hi Oscar.

I prefer the method of using the Microsoft Web Browser Control over the Adobe Acrobat Reader ActiveX control which Adobe doesn't support.

The code to view the PDF is -
ThisForm.OleControl1.Navigate("file:///c:\file.pdf")
ThisForm.OleControl1.Refresh()
Make sure you put the following code in the OleControls' Refresh method to fix a known problem -
NODEFAULT
This method does require that the workstations use Internet Explorer.

HTH

Dan

>Hi all
>
>I need to open a .PDF file at the click of a button. I’ve worked with Word and Excel automation by issuing something like oExcel = CreateObject("Excel.Application"), but I really don’t know this is possible with the Acrobat Reader.
>
>Any hints to trigger the opening of a .PDF file are welcome
>
>Is there an OCX control to show PDF files into a VFP form?
>
>Thanks in advance.
>
>Oscar Corte
Previous
Reply
Map
View

Click here to load this message in the networking platform