12-11-2018 03:05 PM - edited 12-11-2018 03:06 PM
This has been asked before but I can't find a post referencing to Word 2016.
I have Word 2016 on my PC, when I browse through the activeX class libraries, I cannot find any reference to word. I have gone through all the relevant looking microsoft libraries including office and nothing obvious to me.
My workaround is to use:
https://forums.ni.com/t5/Example-Programs/ActiveX-Open-MS-Word-File/ta-p/3511902
However, it would be great to know why I can't find word.application. Any pointers appreciated.
12-11-2018 03:39 PM - edited 12-11-2018 03:48 PM
Also, when I try to look at the properties of a property node I get the following:
--> no properties
When I connect an activex property node I also get --> no properties, even though it clearly works in the online example. I am using LabVIEW 2017. I'm a bit lost.
12-11-2018 04:26 PM
there's this official snippet from this 2013 knowledge base article, to which I (strangely) can't link
"Read Text from a Microsoft Word Document in LabVIEW"
and also
https://forums.ni.com/t5/Community-Documents/Import-Formatted-Text-From-Word-Document/ta-p/3537128
I will look into this tomorrow on a computer where I have MS word installed
12-11-2018 04:34 PM
Thanks Alexander,
I used the vi you posted to copy content -> text.
I found this link : https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019KZNSA2&l=en-IE
It appears I need to have LabVIEW 64 bit installed for it to allow me to access the 32 bit Word. I had a similar issue with MySQL, so maybe there is a workaround but personally, I am now downloading 64 bit LabVIEW!
12-13-2018 05:12 PM
@SeanJ wrote:
It appears I need to have LabVIEW 64 bit installed for it to allow me to access the 32 bit Word.
This is exactly opposite of what the link says. The bitness must match. Are you sure that you have 32bit Word installed?
01-02-2019 09:06 AM - edited 01-02-2019 09:08 AM
Whoops, I meant 64 bit LabVIEW to access 64 bit word!