Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
Read bullet from Word File
Arun Saini
Aug 18 2017 3:04 AM
148
Reply
Please give me code without https://www.e-iceblue.com .
Rightnow I'm using this code for read file .
object filename = @"E:\iPublishing\iPublishing\Uploads\Chapter9.docx";
Microsoft.Office.Interop.Word.ApplicationClass mswordappcls = new Microsoft.Office.Interop.Word.ApplicationClass();
Microsoft.Office.Interop.Word.Document msworddoc = new Microsoft.Office.Interop.Word.Document();
object isVisible = true;
object missing = System.Reflection.Missing.Value;
msworddoc = mswordappcls.Documents.Open(ref filename, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref isVisible);
string text = msworddoc.Content.Text;
return text;
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
Is it possible go from .net to AI
how to use img src attribute using datatable variable value