LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

word property node:selection -> Ref.Number is 0!

Solved!
Go to solution

Hello

I am trying to set a word property in LabView. The problem is that the selection property node is giving me always a ref.number of 0 back!

Therefore I can not set anything due to an error which is generated afterwards. I am using the word version 2010 with the LabView 2012 SP1.

 

Does anybody know how to solve that? Is a registry key missing maybe? Attached is a demo-vi.

 

thanks in advance

0 Kudos
Message 1 of 2
(2,088 Views)
Solution
Accepted by topic author Norick_17

Code works OK for me.  I open MS Word, type in some text, select some text, run your VI and it returns with no errors.

Of course though if I run it without MS Word open or without any text selected it returns 0.

 

Edit:

Actually as long as MS Word is open the VI runs OK (even with no selection)

0 Kudos
Message 2 of 2
(2,084 Views)