Reading text of a Word doc or rtf file

G

Guest

Hello,

What I need to do is read each line from a doc/rtf file. I tried using a
stream reader with the file but I get a lot of formatting/headers or whatever
else is in the doc along with the actual text.

Is there a way for me to just retrieve the lines of text? Is it possible to
do without creating an instance of a Word application?

Thanks,
-Flack
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top