You cannot use DDE for that application. DDE allows bi-directional communication
between two applications. You would have to have a macro running in Word to send
the text back through the DDE channel. Active-X will do what you describe, but it
programs in LabView just like in VB.
Active-X automation will allow you from LabView to:
Start MS Word
Open any MS Word file
read any components of the file back to LabView.
You may have to specify the exact part of the document, such as
Document.Table(1).Row(2).Column(3)
or Document.Paragraph(1). Sentence(2).Word(3)
Search the Examples in LabView and look at the Active-X / Write Table to Excel
Demo
--
Michael Munroe Mailto:mmunroe@abcdefirm.com
A Better Complete Development Engineering Firm
San Mateo, CA 94403 h
ttp://www.abcdefirm.com
Alessandra P wrote:
> How can I read a text of a Mcrosoft Word file with Labview? I used DDE request
> but I don't Know what I had to write in "ITEM" box. Whatever I write in "item"
> box error 14012 appears!
> I don't Know Visual Basic.
>
> Please answer me soon!