11-11-2011 02:32 PM
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.
11-11-2011 02:45 PM
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...
11-11-2011 03:01 PM
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.
11-11-2011 03:04 PM
11-11-2011 03:49 PM
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
11-11-2011 03:50 PM
By the way, I'm using Activex.
thanks.
11-11-2011 04:40 PM
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.