Or you can try this:
Word.ApplicationClass wordApp = new Word.ApplicationClass();
string filePath = inputbox.Value;
object file = filePath;
object nullobj = System.Reflection.Missing.
Word.Document doc = wordApp.Documents.Open(ref
nullobj, ref nullobj,
ref nullobj, ref nullobj,
ref nullobj,
ref nullobj, ref nullobj,
ref nullobj,
ref nullobj, ref nullobj,
ref nullobj);
Word.Document doc1 = wordApp.ActiveDocument;
string m_Content = doc1.Content.Text;
m_Resume.Text = m_Content;
doc.Close(ref nullobj, ref nullobj, ref nullobj);
and then parse the m_Content and find the hyperlinks.
Reference:
http://www.msnewsgroups.ne
Regards,
Mishu
Main Topics
Browse All Topics





by: Mishu007Posted on 2008-03-11 at 23:04:46ID: 21103412
Try this solution : e.com/Micr osoft/Deve lopment/.N ET/ Visual_ CSharp/Q_2 2743782.ht ml
http://www.experts-exchang
It parses out the text, but you can then identify the hyperlink in the text.
Hope this helps!
Regards,
Mishu