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