LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I want to run Acrobat PDF reader inside a control of my panel control

I can run adobe acrobat reader with my LabView 6.0 but I don't know how make it inside a control as it was a window of my frontal panel.
0 Kudos
Message 1 of 3
(5,574 Views)
I think you want to do something like this:

- Put an ActiveX container on the front panel (from Controls>ActiveX>Container)
- right click on the container
- select 'Insert ActiveX Object �''
- select 'Adobe Acrobat Control for ActiveX' (as shown in attached .gif)

- On the block diagram, put an Invoke node, wire the refnum to the node and you gain access to all sorts of Acrobat methods including 'Load File' (as done in attached vi).

Apologies if this isn't what you're looking for. It would probably be worthwhile for you to look at some of the ActiveX examples that shipped with LV6 and the Help files on ActiveX containers..
=====================================================
Fading out. " ... J. Arthur Rank on gong."
Download All
Message 2 of 3
(5,574 Views)
Upgrading to Acrobat Reader 7.0 has broken my VI that embeds a PDF using the Acrobat ActiveX control.

Using what seems to be the new AcroPDF (IAcroAxDocShim) object from the "Adobe Acrobat 7.0 Browser Control Type Library 1.0 Version 1.0" Type Library, I _can_ successfully run the LoadFile method to embed a PDF.

However, before I display the document (such as when I open the VI initially, without running it,) the ActiveX container is displayed improperly, in that the desktop or windows beneath "show through," and repositioning the container within the VI does not work.

And, perhaps more importantly, when this VI is built as an application and executed on PCs still running Acrobat Reader 6.0, the PDF embedding does not work.

How can I make my deployed application support multiple versions of Acrobat, or work by an alternative means?
0 Kudos
Message 3 of 3
(5,516 Views)