02-10-2009 03:16 AM
Hi,
I want to convert a .doc file to text (.txt file) format and back to .doc file.can anyone give me the code for the same.
i.e., if you have a .doc file and you want to covert it to .txt file and back to .doc .
seeking help from all.
Thanks,
vamsi
02-10-2009 03:51 AM
A .doc file means that you need to use the MS Word VIs which are available only with the Report GEneration toolkit.
Or, you should use ActiveX to read your .doc file.
02-10-2009 04:52 AM
Hi
I want the labview code to convert .doc to .taxt and back to .doc file. I think you got it now what I am asking for?
Thanks,
vamsi
02-10-2009 05:13 AM
Hi Vamsi,
This is a doubt-clearing forum, NOT a code-getting forum.
You first try to search the LabVIEW Example Finder on how to read a .doc file.
Also, read about using ActiveX in LabVIEW. Excel & Word files can be read & write only thro' 2 methods I had already mentioed, either you should have RG toolkit installed along with your LabVIEW or you should use ActiveX.
02-10-2009 05:51 AM - edited 02-10-2009 05:52 AM
02-10-2009 06:37 AM
Hi Vamsi,
See the attached VI on using ActiveX to open the MS Word Application in LabVIEW & read a .doc file.
Once we read its text, then it is child's play to convert it to .txt file.
02-10-2009 06:47 AM
Vamsi,
I have not taken enough care to look & close all the references concerned. You need to do that to eliminate some bizzare things that may happen out of these when integrated in a bigger application as a subroutine.
02-10-2009 08:52 AM