LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

.doc to .txt

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

0 Kudos
Message 1 of 16
(4,463 Views)

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

0 Kudos
Message 2 of 16
(4,459 Views)

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

0 Kudos
Message 3 of 16
(4,444 Views)
A plain text file has no formatting, that's what makes it plain text . If you want to keep the formatting, there's no use converting a .doc file to plain text.
0 Kudos
Message 4 of 16
(4,442 Views)

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

0 Kudos
Message 5 of 16
(4,391 Views)

Hi Mike,

            

                         I've attached one document here. I think now you can understand my problem better.

 

 

Thanx,

Vipul

0 Kudos
Message 6 of 16
(4,381 Views)

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 

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 7 of 16
(4,374 Views)

Hi Norbert,

                       Can you explain how to do it in simple terms.

 

Thanks

Vipul..

0 Kudos
Message 8 of 16
(4,364 Views)

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

0 Kudos
Message 9 of 16
(4,355 Views)

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?

 

0 Kudos
Message 10 of 16
(4,352 Views)