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:
00562182
Vues:
21
>Jose
>
>Another kind of round about (but easy to code and control method) is to put the MS Internet Explorer ActiveX on a form, and set it's INIT code to something like
>this (the oleWB is the name I gave to the OLE Control)
>
>THISFORM.oleWB.Navigate('file://C:/SOURCE/VFP6/POSTMGR/VER32062/i-9.pdf')
>ThisForm.oleWB.setfocus() && Hides unwanted scrollbar
>Thisform.oleWB.Setfocus() && Some object to get focus from browser
>
>Of course, you can substitute the path/file of the first line of code with anything you want to view/print.
>
>Also, you do need Adobe Acrobat Reader installed, but not the full Adobe Acrobat.
>
>By the way, this works for almost any file types - animated GIFs, etc.
>
>Hope this helps.

Very good idea Bill. I´ll try. One question, I didn´t understand the lines:

ThisForm.oleWB.setfocus() && Hides unwanted scrollbar
Thisform.oleWB.Setfocus() && Some object to get focus from browser

I think that you forgot something...

Regards,
José Augusto Cavalcanti
Global Connection
jose.cavalcanti@globalconnection.com.br
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform