LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW as ActiveX Client of Word 97 -- need just a little more info!

Am using the word.llb with LV as a client of Word 97. I've browsed the bookstores but can't find any answers. I'm looking to modify the Word 97 program by saving the written document (as .txt not .doc) and closing out Word. Where do I go to find the correct values for setting parameters like NoPrompt in the Save Invoke Node under Documents? As you can see, am very novice level with ActiveX.
0 Kudos
Message 1 of 3
(2,708 Views)
Can't answer straight out but can give guidence.

The ActiveX stuff is genearally aranged the same way as the drop-down menus. It you can find in the drop-downs, a similar approach can be used to do it via activeX.

Another clue.

Install help for VBA. It will show you how to do things in VB and the same aproach used in their examples can be used in LV.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 3
(2,708 Views)
Thanks Ben. With your advice and some more investigation I found the best way was to write a macro in Word and then look at the VB code for it. I discovered that the constant for saving as .txt, wdFormatText = 2. After I looked at MSDN. They have a good explanation where they talk about having to 'drill down' in the object hierarchy to get at the data you want.
0 Kudos
Message 3 of 3
(2,708 Views)