02-16-2009 12:38 AM
Hi
when I am converting .doc file to .txt file, I am losing the format of .doc file in txt file.like, If I want to convert a table in .doc file to .txt file, I am not getting the table in my txt file. How can I convert .doc file to .txt file with out losing its format?
Thanks,
Vipul
02-16-2009 01:20 AM
Tables are in Microsoft Word Format, so you can not bring those in .txt format.
I have never seen a table structure in .txt format.
if you can just make a specimen file of it kindly attach it to the forum, so that we can know what exactly you want.
So far as my knowledge is concerned, there is no Table structure in .txt format, .txt format file will only accept text
02-16-2009 02:25 AM
Hi Vipul,
i think you have to program it yourself. You can read tables and it contents from word and rebuild it with horizontal and vertical lines in a txt file.
Hope it helps.
Mike
02-16-2009 02:31 AM
02-17-2009 02:45 AM
Hi Vipul,
please explain why you need to convert your file first to txt and then back to *.doc.
PLEASE answer in this thread. There's no need to open new threads for the same question. Try to explain what you want and you'll get help.
Mike
02-17-2009 04:24 AM
Hi Mike,
I've attached one document here. I think now you can understand my problem better.
Thanx,
Vipul
02-17-2009 04:35 AM
Vipul,
if the item "modem" is some kind of internet modem: use ftp, this is way easier.
And in the current design, you will lose all formatting information, you can only "encode" that info at the sender and "decode" it at the receiver. This has to be done in your software then....
hope this helps,
Norbert
02-17-2009 06:01 AM
Hi Norbert,
Can you explain how to do it in simple terms.
Thanks
Vipul..
02-17-2009 06:27 AM
Hi Vipul,
you can transfer every file you want without knowing the contents. You can use TCP/IP to send your data. Use the example finder and search for "tcp".
Mike
02-17-2009 06:40 AM
Again, the question arises:
Why convert form .doc to plain text, only to convert it back later? Is that only to send it over the modem?
Don't you think you should just send it binary from one PC to the other, and change everything you have to change on one or the other?