Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Acrobat Automation
Message
 
À
27/02/2003 10:36:20
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00758779
Message ID:
00759132
Vues:
21
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform