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
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Read Text from Word Document using Word Reader DLL
Naren Kumar Kumaresan
May 09
2015
Code
3.4
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
expand
Code7248.word_reader
Add reference this " Code7248.word_reader.dll"
using namespace also "using Code7248.word_reader;"
<
%@ Page
Language
=
"C#"
AutoEventWireup
=
"true"
CodeFile
=
"new search.aspx.cs"
Inherits
=
"new_search"
%
>
<!DOCTYPE html
>
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
head
runat
=
"server"
>
<
title
>
</
title
>
</
head
>
<
body
>
<
form
id
=
"form1"
runat
=
"server"
>
<
div
>
<
asp:textbox
ID
=
"txt1"
runat
=
"server"
>
</
asp:textbox
>
</
div
>
</
form
>
</
body
>
</
html
>
protected
void
Page_Load(
object
sender, EventArgs e)
{
TextExtractor extractor =
new
TextExtractor(@
"E:\lucene240420150341428643.doc"
);
string
contents = extractor.ExtractText();
Response.Output.Write(contents);
txt1.text = contents;
}
DLL
Reading text Document