LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

embed 2013 word in labview front panel

Hi everyone,

So is there any way to view .docx files in the labview front panel? I tried embedding it in a browser but it just opens microsoft office word. Any thoughts or suggestions are appreciated.

0 Kudos
Message 1 of 9
(3,306 Views)

Hey jachy25,

 

If you just want to use the docx file to read only, I'd suggest checking out one of these resources:

 

http://forums.ni.com/t5/LabVIEW/How-to-View-Word-2013-Document-in-ActiveX-Object/td-p/2880682

http://zone.ni.com/reference/en-XX/help/371361L-01/lvconcepts/using_activex_with_labview/

 

If you need write access, the report generation toolkit will be your friend.

 

Best,

Matt J - NI Tools Network
0 Kudos
Message 2 of 9
(3,278 Views)

Hi MattJ,

Thanks for the reply. That was my first option to use. The VI that I'm making is taking a file of any format and displaying on the front panel and the only way I can do that is to use an activex webrowser control. It works fine for PDFs, HTMLs, HTMs, & XML (so far). The only formats that it doesn't work for is for .docx, .doc, .xls, & .xl. That's why I was trying to embed the word document on the browser but to no avail. 😞

 

Cheers,

jachy

0 Kudos
Message 3 of 9
(3,275 Views)

I know that the following post is for Excel 2007, but I looked at the Microsoft KB and the registry edits required to make it work for both Office 2007 and 2010 documents are the same, so it might also work for 2013.  No guarantees!

 

Excel 2007 viewable from ActiveX Browser on LV Front Panel

http://forums.ni.com/t5/LabVIEW/Viewing-Excel-Sheet-in-LabVIEW/td-p/3003307

 

Microsoft KB relating to Office 2007 opening in a new window instead of the browser

http://support.microsoft.com/kb/927009/

 

Microsoft KB relating to Office 2010 opening in a new window instead of the browser

http://support.microsoft.com/kb/982995

 

Note the identical registry values in both the 2007 and 2010 KBs.

 

0 Kudos
Message 4 of 9
(3,253 Views)

Are there no property node/invoke nodes that allows us to embed the word file into the activeX container?

 

Drew_H, thanks for the reply. I'd rather not have to edit the registry if possible.

0 Kudos
Message 5 of 9
(3,244 Views)

@jachy25 wrote:

Are there no property node/invoke nodes that allows us to embed the word file into the activeX container?

 

Drew_H, thanks for the reply. I'd rather not have to edit the registry if possible.


If you don't want to edit the registry yourself, just click on the Fix It button on the linked pages.

0 Kudos
Message 6 of 9
(3,238 Views)

nyc,

Wouldn't that mean I would have to fix the registry for every computer that wants to run the VI that I'm creating?

0 Kudos
Message 7 of 9
(3,231 Views)

@jachy25 wrote:

nyc,

Wouldn't that mean I would have to fix the registry for every computer that wants to run the VI that I'm creating?


Yes.

Those are the only options Microsoft is giving you apparently.

 

 

0 Kudos
Message 8 of 9
(3,217 Views)

You can apply a registry update programatically in LabVIEW if the logged in user has permission.  There is a palette for editing Windows registry.  Also you can perform it using the command line.

 

http://www.robvanderwoude.com/regedit.php

 

But again this relies on the user having the rights to be allowed to edit the registry.

0 Kudos
Message 9 of 9
(3,175 Views)