LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to display PDF using Adobe Acrobat ActiveX in 64bit LabVIEW

Unable to display PDF files using activeX and also web browser(.NET)  in LabVIEW 64bit 2020. Is there any alternative way to view PDFs in LabVIEW 64bit? 

0 Kudos
Message 1 of 5
(1,882 Views)

The problem is likely that the according ActiveX and .Net components are in reality 32-bit native compiled components. That makes them impossible to be loaded in-process which is the standard way of invoking ActiveX and .Net components.

 

The easiest by far would be to display the document externally by invoking the standard registered PDF viewer through SystemExec. Is that not a solution for you?

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 5
(1,861 Views)

The front panel has other controls and indicators with PDF viewer as a part. Invoking it separately affects our current UI. 

0 Kudos
Message 3 of 5
(1,857 Views)

Well an ActiveX interface could also be invoked out of process in theory. But that is entirely up to the ActiveX control registration and LabVIEW has no influence on this. It is fairly convoluted to register an ActiveX control correctly in the Windows registry to enable that option and has not been done very often. It also requires the ActiveX control to be written in a certain way to allow this without any trouble.

If the installation of a control does not allow this option it is usually safe to assume that the control would probably run into some problem in one way or the other if attempted to do this. Or the control developer did not want to bother about the necessary registry settings. It was not well documented by Microsoft and nowadays with Microsoft trying to dissuade any ActiveX use as much as possible in favor of .Net, it is almost impossible to still find the necessary information.

Rolf Kalbermatter
My Blog
0 Kudos
Message 4 of 5
(1,844 Views)

That's unfortunate. Is there no other alternate way to view PDF in LabVIEW's front panel?

0 Kudos
Message 5 of 5
(1,834 Views)