LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

include a pdf to an .exe

Solved!
Go to solution

Hi everybody ! 
I have a little issue, how can I include a PDF to an installable VI . ? 
Thanks

0 Kudos
Message 1 of 6
(3,594 Views)

1. Have the PDF in your project.

2. Add the PDF to your installer build specification


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 6
(3,588 Views)

Thanks, but, in the program ... how do I can specify the path ? 
any way thanks a lot.

0 Kudos
Message 3 of 6
(3,581 Views)

What is it you're trying to do?  Why would you need the path for the pdf file in the VI?  If you're reading from and parsing a constant pdf, save yourself the hassle and just do this before you compile the executable.

 

Where does this need show up in your application?

0 Kudos
Message 4 of 6
(3,575 Views)

Well need it, only to open , it´s a kind of help where you can acces from the main VI, in the other case I need to open a word template to write a report of the procces. For that I need the path.

0 Kudos
Message 5 of 6
(3,568 Views)
Solution
Accepted by topic author i.galaviz

Use "Application Directory" to get the folder of the project/executable.  From there, use Build Path to locate your PDF since your PDF should be located in a place relative to your application.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 6 of 6
(3,554 Views)