LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Add File Commments to MS Word with Object Library

Hi,

how is ist possibel to add a File comment with MS Word 14.0 Object Library in CVI?

 

VBS-Code looks like this:

ActiveDocument.BuiltInDocumentProperties.Item("Comments").Value = "Test"

 

Thanks!

0 Kudos
Message 1 of 3
(1,861 Views)

Hi DRot,

 

If you want to import this function in LabWindows/CVI, you can create an ActiveX controller that will import all the MS Word 14.0 functions.

To do it, you can follow this document: http://digital.ni.com/public.nsf/allkb/4B597F188B89B6DD862568970071F2FC?OpenDocument

 

Have a nice day!

Clement

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

Hi Clement,

thanks for feedback!

I have create a ActiveX controller but the function does not exist in it!?

 

Kind regards

DRot

0 Kudos
Message 3 of 3
(1,772 Views)