LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read/write protect a Word document created by Save Report to File VI

Hi all,

I need to protect from reading and writing a word document created by Save Report to File VI. However, when I wire a password to this VI, the file is only protected from writing but not from reading. When opening the file with word, it keeps the option "Read only", therefore the data are not protected...

 

Any simple way to protect the file both from reading and writing?

 

Thanks for helping,

Olivier

0 Kudos
Message 1 of 3
(2,611 Views)

You can use the Report Generation toolkit Word Macros along with a macro created in Word to password protect your document.  Using active X controls is another option as well.

-----------------------------------------------------------------------------------------
Reese, (former CLAD, future CLD)

Some people call me the Space Cowboy!
Some call me the gangster of love.
Some people call me MoReese!
...I'm right here baby, right here, right here, right here at home
0 Kudos
Message 2 of 3
(2,610 Views)

Thanks for your prompt response! Could you provide an example for the solution with Active X control. I'm not familiar with the manipulation of these controls. Thanks!

 

O

0 Kudos
Message 3 of 3
(2,604 Views)