LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Display a PDF file in a Window within Labview VI panel

Solved!
Go to solution

I copied this program to my program but it did not work,
But the program works separately.
what should I do ?

0 Kudos
Message 11 of 20
(1,520 Views)

Untitled.png

Message 12 of 20
(1,516 Views)

Can you save this to LV2012, please

0 Kudos
Message 13 of 20
(930 Views)

@cmdrb wrote:

Can you save this to LV2012, please


Haven't tested the original, nor the saved back version...

0 Kudos
Message 14 of 20
(906 Views)

In using the acrobat active x, what is the necessary files needed in the work station?

 

I have this working on my laptop, but when deployed, it does not display anymore. 

0 Kudos
Message 15 of 20
(831 Views)

@cmdrb wrote:

In using the acrobat active x, what is the necessary files needed in the work station?


Any error(s) or messages?

 


@cmdrb wrote:

I have this working on my laptop, but when deployed, it does not display anymore. 


Does the exe work on your laptop?

 

It's been 15 years since I used AX on a deployed application. There where some AX required components (OTOMH two ocx*.dll files) missing on 'clean' machines. I'd have to dig deep to get the details.

 

A wrong pdf file path will also cause this. That often happens when building an exe, and I have no idea what you're doing or trying to do.

0 Kudos
Message 16 of 20
(804 Views)

The executable file works on my laptop but not on other workstation.

 

The PDF file path is correct.

 

Hope you can share which OCX i should include when i create the executable file.

0 Kudos
Message 17 of 20
(769 Views)

Well, it's not that easy, apparently.

 

This is pre SVN, and pre .lvproj (LV4-LV7).

 

From what I find online, some crumbs in the code and memory, I'm think it's mscomct2.ocx and mscomctl.ocx.

 

These are associated with MSOffice, and indeed installing anything office used to fix the problem.

 

Note that this could all be a red haring.

 

I do hope (the correct version of) acrobat reader was installed on your workstation? This OCX isn't standard on Windows. IIRC it also has to be opened once, to finish the registration process.

 

Maybe you can also try a date-time picker OCX control, just to see if the problem is with acrobat or OCX controls in general.

0 Kudos
Message 18 of 20
(752 Views)

I am experiencing the same issue. I wonder if this problem has been solved.

0 Kudos
Message 19 of 20
(316 Views)

I have no experience with this, but a quick test shows that if I use a .NET container and place the standard WebBrowser control (from System.Windows.Forms) and call the Navigate method, it displays the PDF just fine. See the attached snippet.

 

PDF display.png

 

I don't have Acrobat Reader on this PC, so either this PDF display is embedded in the browser, or it's a plugin from Foxit, which is what I have here. I assume Acrobat has a plugin as well.

 


___________________
Try to take over the world!
0 Kudos
Message 20 of 20
(306 Views)