Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69527

PDF loaded using ActiveX will not load when the executable is used on another computer

$
0
0

Hello,

 

I am fairly new to Labveiw and have created a CAN diagnostic tool which uses an ActiveX control to display the CAN Spec PDF on the front panel. This works absolutely fine and still works fine when I create and use an executable on the same computer. However, I need to use the application on multiple computers that do not have Labview installed, and therefore require the executable. I have tried placing a copy of the PDF in the "Volume" folder and recreating the .exe with that path, then placing it in the same location on another computer, but no luck. I am fairly certain it has to do with the static file path, set in the Main VI, since it refers to a static location that does not necessarily exist on the next computer. I need some way to get around this though, so that I can easily transfer the application from one computer to another. The code I am using is very simple; I just open Adobe Reader and the file during initialization then close the reference path (see attached picture). Any Ideas?

 

Thank you for your assistance!

 

-Mike

 

 


Viewing all articles
Browse latest Browse all 69527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>