02-12-2009 03:48 AM
hi
how can we convert text file to doc file in labview.
thanx,
nivedita
02-12-2009 03:51 AM - edited 02-12-2009 03:51 AM
Hi nivedita,
you can use the Report Generation Toolkit to create word documents. You can also write this functions yourself using ActiveX.
Mike
02-12-2009 07:42 AM
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
02-12-2009 07:56 AM
What if we do this????
Please find the attachement.
Kindly coment if anything is wrong.
02-12-2009 08:03 AM
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
02-12-2009 09:26 AM
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.
02-12-2009 10:23 AM
There are people who change the extensions of bitmaps to .jpg or .gif or .png??!!?? 😮
LOL! that's not good.