Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Open an Adobe Acrobat PDF file
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00557038
Message ID:
00557964
Vues:
18
First, you need to install the Adobe Reader, (free viewer) www.adobe.com
then, you have two options that I know of..
using the schellexecute() function, you can just open that pdf file, and the adobe reader will start automatically. however, this will not open inside your app... it will open a seperate window... If you want the pdf to open say inside a vfp form. then you have to use the active x control Acrobat control for Activex. Drop that active x control on a form. and set the property for the loadfile() to be your pdf file.
like thisform.olecontrol1.loadfile("mypdf.pdf")
then the pdf would be shown inside your form.

Hope this helps.

Bob Lee


>>Do you want to display PDF file, edit, print?
>>
>>>Hi, do anybody knows hou to open an Adobe Acrobat PDF file from within VFP?
>>>
>>>Regards,
>
>I´m not allowed to print, edit or extract any information from this file. I just want to open it and search.
In the beginning, there was a command prompt, and all was well.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform