Read Name from Document in C#.Net

Posted by Naraayanan under C# on 6/10/2013 | Points: 10 | Views : 1595 | Status : [Member] | Replies : 5
Hi All,
In My Project , i need to read a Candidate name from Resume Document in C#.Net. It's a Windows Application.

Regards,
Lakshmi Naraayanan.S
http://dotnettechrocks.blogspot.in/
http://abaprocker.blogspot.com/



Responses

Posted by: krrishbiju-15589 on: 6/11/2013 [Member] Starter | Points: 25

Up
0
Down
You can read the content of a word docs as....

Microsoft.Office.Interop.Word.Application wordApp = new Microsoft.Office.Interop.Word.Application();
string path = @"E:\Res.docx";
object file = path;
object nullobj = System.Reflection.Missing.Value;

Document doc = wordApp.Documents.Open(ref file, ref nullobj, ref nullobj,
ref nullobj, ref nullobj, ref nullobj,
ref nullobj, ref nullobj, ref nullobj,
ref nullobj, ref nullobj, ref nullobj);

string result = doc.Content.Text.Trim();

doc.Close();

Naraayanan, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Niladri.Biswas on: 6/11/2013 [Member] Platinum | Points: 25

Up
0
Down
This may help

http://beyondrelational.com/modules/2/blogs/80/posts/10677/read-word-document-and-find-the-relevant-emails.aspx

Best Regards,
Niladri Biswas

Naraayanan, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Naraayanan on: 6/18/2013 [Member] Starter | Points: 25

Up
0
Down
Hi All,
thanks . I need to fetch candidate name from the resume doc/docx/pdf file .




Regards,
Lakshmi Naraayanan.S
http://dotnettechrocks.blogspot.in/
http://abaprocker.blogspot.com/

Naraayanan, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Naraayanan on: 6/19/2013 [Member] Starter | Points: 25

Up
0
Down
Hi Sakthi,
Can you give an example for this?

Regards,
Lakshmi Naraayanan.S
http://dotnettechrocks.blogspot.in/
http://abaprocker.blogspot.com/

Naraayanan, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Naraayanan on: 7/5/2013 [Member] Starter | Points: 25

Up
0
Down
Hi Sakthi,
thanks for your code. Can you please give me completed code.

Regards,
Lakshmi Naraayanan.S
http://dotnettechrocks.blogspot.in/
http://abaprocker.blogspot.com/

Naraayanan, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response