Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Acrobat Reader - Again
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00691299
Message ID:
00691306
Views:
18
This message has been marked as the solution to the initial question of the thread.
Hi Thom.

I much 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

>To all,
>
>In a post I made earlier, I asked for information about how to call the Adobe Acrobat Reader through VFP.
>
>Irv responded with a nice simple little post about putting an OLE control on the form and calling the LoadForm() method.
>
>Well, I did all that and sure enough, Acrobat loaded. I could tell because I saw the splash screen.
>
>Unfortunately, it immediately disappeared and refused to appear again, unless I shut down VFP.
>
>So, I guess what I really want is for someone to point me to some documentation on how to USE the Acrobat Reader through VFP. IOW, how to load it, feed it a file and keep it visible. You know, make it genuinely useful :-)
>
>TIA,
>Thom C.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform