hi friends, Can any one help me how to read MSWord files using IO Streams. When i have tried it is giving in binary format. I have used both byte and character streams. Thanks in advance ramesh
Joined: Aug 21, 2000
Ramesh, I am not sure I understand what exactly you are trying to do. MS Word uses a proprietary binary file format, so unless your application uses a special Java library to deal with Word files (if this exists, but I am pretty confident that it does), you won't be able to do anything with these files. -Mirko
Originally posted by Ramesh Rao: hi friends, Can any one help me how to read MSWord files using IO Streams. When i have tried it is giving in binary format. I have used both byte and character streams. Thanks in advance ramesh
Joined: Sep 29, 2000
Why don't you post this on a MicroSoft forum.
"JavaRanch, where the deer and the Certified play" - David O'Meara
Joined: Jan 30, 2000
It occurs to me that (a) StarOffice is supposed to be able to read and edit MS Word files, and (b) the source code for StarOffice is freely available at www.openoffice.org. I don't know how easy it might be to find what you're looking for, but it seems like a good place to try. Good luck.
"I'm not back." - Bill Harding, Twister
Joined: Jan 23, 2001
Mirko Froehlich, Actually i am trying to extract data from word file and use it and use it for appending this text other files.
Jim, Thank u for giving for this information. i will try it and let u know.