LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

.txt to .doc

hi

    how can we convert text file to doc file in labview.

thanx,

nivedita

0 Kudos
Message 1 of 7
(3,146 Views)

Hi nivedita,

you can use the Report Generation Toolkit to create word documents. You can also write this functions yourself using ActiveX.

 

Mike

Message Edited by MikeS81 on 02-12-2009 10:51 AM
Message 2 of 7
(3,145 Views)

Nivedita,

 

Take a look at the Word Report shipping example (\samples\activex\word\wordrpt.prj).

You can also look under the Help menu, there is a Find Example selection where you can do a search for "word".  The examples mostly include tables and graphs that you may not need, but it will show you which VI's are used to create a Word report.  There is a text portion in the examples (at least some of them).

 

R

Message 3 of 7
(3,116 Views)

What if we do this????

Please find the attachement.

Kindly coment if anything is wrong.

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

krunal,

 

Your example does not do anything other than renaming the filename from a .txt to a .doc extension. 

A text file contains ASCII text.  A MS Word document contains headers, formatting information, text, etc.

The solution requires far more than just changing a file extension.

 

R

0 Kudos
Message 5 of 7
(3,106 Views)

RayR (aka JoeLabView) wrote:

The solution requires far more than just changing a file extension.


Kind of like what people do when they change the extensions of bitmaps to .jpg or .gif or .png. Smiley Mad

0 Kudos
Message 6 of 7
(3,087 Views)

There are people who change the extensions of bitmaps to .jpg or .gif or .png??!!??  😮

 

LOL!  that's not good.

0 Kudos
Message 7 of 7
(3,075 Views)