I had to do the same thing except it was in rtf
format. I spent close to 6
months trying to figure out the rtf format and
dynamically get what I
wanted. After many headaches and long hours, a
co-worker, 6 months too late,
suggested that I check out the Aspose.Word control. I
used it and had it
implemented and working withing a week. There are
different features in the
Aspose.Word control, it does pretty much everything
WORD does.

Check it out here:
http://www.aspose.com/Products/Aspose.Word/Default.aspx

Not sure if it will meet your needs or not. Just when
someone mentions
messing with WORD and Automation I always try to
suggest this control
because its a lot easier to work with.

Just my two cents.

Steve

-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf
Of Jon Rothlander
Sent: Thursday, December 07, 2006 11:31 PM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: [ADVANCED-DOTNET] Does anyone know how to
read a Word document in
.Net 2003?

I'm trying to read a Word document as text data and I
cannot find an easy
way to handle this in .Net 2003.  If there is some way
to convert it to a
text file, then just open and process the text file,
that would work much
better than having to deal with the Word document.

All that is required is that I can read the data into
a string as text data.
I do not care about any of the formatting or styles...
just the text.

What I am doing is mining some data out of a Word
document.  The Word
document is a form that someone created, so I can
depend on the text data
and I am able to parse the text to capture the data
that I need.  It works
fine in a text file, but I cannot get to the text data
within Word.

I've built Word documents from within .Net and saved
them, but I do not
recall ever opening a word document and pulling the
text out.  So this is
new to me.

I think my problem is that when I do a search for this
on Google, MSDN, etc.
That there are just too many Word/.Net matches and I
am not able to find
what I need.  If anyone has any ideas on how to find
what I am looking for,
I am open to ideas.

Any ideas, suggestions, or sample code would be very
much appreciated.

Thanks,
jrothlander

===================================
This list is hosted by DevelopMentor.
http://www.develop.com

View archives and manage your subscription(s) at
http://discuss.develop.com


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to