08-12-2013 09:16 AM
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
Solved! Go to Solution.
08-12-2013 09:31 AM - edited 08-12-2013 09:36 AM
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)