LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading comments from MS word

Hi,
Is it possible to read the comments from a word document in labVIEW? How? Are there any limitations like size of word document etc.?
 
0 Kudos
Message 1 of 9
(3,722 Views)
Yes it is. You'll need to use ActiveX.
I don't think there are any limitations to the document size.  As long as Word can open it, it should be okay.
 
RayR
0 Kudos
Message 2 of 9
(3,711 Views)

Hi RayR,

Thanks for the reply.

Can you please post the sample code and commented document here? Which ActiveX do I need to access in LabVIEW program.

Thanks in advance!

 

0 Kudos
Message 3 of 9
(3,704 Views)
It would take me a bit of time to prepare an example.  Maybe during lunch..
 
In the meantime, have a look at this thread to give you some idea of what the code looks like:
 
And this link has an example at how to open a Word document..  There's also another example further in the thread.
 
That should be a start.   You can also do a search on Word and Labview.
 
RayR
0 Kudos
Message 4 of 9
(3,694 Views)

Thanks RayR!

I'll go through these links........

0 Kudos
Message 5 of 9
(3,681 Views)

Hi,

I am able to read the total counts of the comments / author / initials but not the actual contents of the comments. Could any one help me from this point onwards. Attaching the code here- (Ver. 7.1)

 

Thanks !

0 Kudos
Message 6 of 9
(3,635 Views)
Hi ITA,

this code is successfull:


I found this by just trying, the 'range' object can do a lot with the text, looks interesting.

Ton
PS. Is there a specific reason to zip your VI before uploading.



Message Edited by TonP on 07-02-2008 12:49 PM
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 7 of 9
(3,620 Views)
Hi ITA,
can you upload a document, from which you want to read the data?
Mike
0 Kudos
Message 8 of 9
(3,620 Views)

Hi TonP,

Thanks a lot!

0 Kudos
Message 9 of 9
(3,593 Views)