TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Cien S
NA
19
0
Extract text from .doc file in Asp.net
Mar 16 2010 7:41 AM
Hi,
I am using following code to extrcat Text from .doc file.
Code::
FileStream fileStream = new FileStream("F:\\Resume_Rajib_Ghosal.doc", FileMode.Open, FileAccess.Read, FileShare.None);
StreamReader srd = new StreamReader(fileStream);
while (srd.Read() > 0)
{
string text = srd.ReadToEnd();
}
srd.Close();
But aftering extracting when i search kewords as xml,hidden,control,form,html as so on.., its not working properly. I mean to say in original file if i search xml kewords then they have no text. But in text if i search xml kewords then they have multiple values. And also it increment to content Length of .doc file and it contain invalid characters as ? ? 8??i ?i ?BN?? .
Give me some better resolution.
Thanks in advance.
Pankaj
Reply
Answers (
2
)
Create a Mail Server
insert values via web service in asp.net using c#