LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I read a word file with Report Generation and Labview?

Hello All:

 

I have Labview 2010.

 

How do I Read a Microsoft Word File1.doc with Labview and Report Generation Kit?

File1.doc is a simple file with a few lines and a Table.

 

thank you very much.

 

\\diego2000

0 Kudos
Message 1 of 7
(4,558 Views)

I don't think that toolkit will help you.  Remember, it's the Report GENERATION Toolkit.  It's designed to create reports not read existing DOCs.

 

You can use the standard file VIs to read a Word Doc but you'll have to strip out the formatting information to get at the raw text.

There may be some other tools or ActiveX techniques that will help.  Hopefully someone more knowledgable on that subject will chime in to help you out...

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 2 of 7
(4,554 Views)

Thanks NIquist:

 

You are right, that's only Report Generation.

 

Maybe it can be done with Activex, but how to do it?

 

thank you for the info.

0 Kudos
Message 3 of 7
(4,546 Views)

Very good link smercurio_fc

 

1.  I got the Word doc open with the right contents.

 

2.  Next challenge is how to get the contents out. The contents are 2 lines of text and 2 tables.

 

thank you,

 

diego2000

0 Kudos
Message 5 of 7
(4,540 Views)

By the way, I'm using Activex.

 

thanks.

0 Kudos
Message 6 of 7
(4,539 Views)

Get the contents out in what way? You're really asking about how to use the ActiveX interface of Word, and that's more of an issue with the Microsoft API, which is documented in MSDN.

0 Kudos
Message 7 of 7
(4,534 Views)