LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error while generating Report in PDF using ActiveX

Solved!
Go to solution

The VI I am using is given in the forum https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000kGF9SAM&l=en-IN.

 

While running the VI I am getting an error with error code -2147467259, and message "Exception occured in Microsoft Word: The export failed because this feature is not installed.Help Path is C:\Program Files (x86)\Microsoft Office\Office12\1033\WDMAIN11.CHM and context 25726 in Save File to PDF.vi->GeneratePDF(ActiveX Method).vi".

 

I am using labview 2019 and I have also installed report generation toolkit 2019, the VI is attached here.

 

msabah38_0-1643705475352.png

 

Download All
0 Kudos
Message 1 of 6
(1,708 Views)

Kindly help is solving this error 

0 Kudos
Message 2 of 6
(1,688 Views)

Do you have Microsoft Office installed (and activated)?

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

Yes I am using office 2007

0 Kudos
Message 4 of 6
(1,662 Views)
Solution
Accepted by topic author msabah38

According to this thread, you need to have some add-on installed in Office 2007 in order to export to PDF.

Don't know what the add-on is, because the link is broken, but it's a good start.

0 Kudos
Message 5 of 6
(1,657 Views)
Solution
Accepted by topic author msabah38

Thanks for the thread, I had to install add-in for microsoft office2007 called as "Save as PDF", and it worked. The setup for add in can be found in the link https://filehippo.com/download_2007-microsoft-office-add-in-microsoft-save-as-pdf-or-xps/ . 

After installing the add-in a new icon appears in MS word as shown below.

msabah38_0-1643805815462.png

And now the VI run without any errors. Thanks.

0 Kudos
Message 6 of 6
(1,640 Views)