Click here to Skip to main content
15,892,768 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi guys,

I want to read text from binary data which was saved in database from the .doc file. I cannot save the file to disk in order to read it back.
Is there any way? I have read the .docx file from stream but now want to read .doc.

Regards.
Posted
Updated 30-Oct-10 17:32pm
v2

So what I understood is that you have the entire docx file in memory (that you read from the database), you don't want to save it to disk and open it via Word, and instead want to extract just the text data from it.

See if this article helps you with this:

http://www.codeproject.com/KB/office/ExtractTextFromDOCXs.aspx[^]
 
Share this answer
 
v3
Thanks dear, but it reads text from a docx file what i want is to read
text from .doc file . any help ?
regards.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900