Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Acrobat Reader ActiveX Contorl
Message
From
07/06/2001 02:16:18
Jon Nelson
Trader Systems Limited
Reading, United Kingdom
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00514801
Message ID:
00516175
Views:
11
>I am trying to get VFP to open Acrobat Reader as an ActiveX control.
>
>I went under tools/options/activeX and loaded the pdf.ocx driver
>
>my code looks like this:
>getobject("c:\data\test.pdf")
>
>Nothing happens. Why????

I've just tried the following and it works for me:

1 Create a new form

2 Add a new OLE Control - "Acrobat Control for ActiveX" which comes with Acrobat reader - named pdf1

3 Add a command button

4 In the click event of the command button:

thisform.pdf1.src="C:\TEST\TEST.PDF"
Previous
Reply
Map
View

Click here to load this message in the networking platform