i need to parse a resume which is in .doc format and extract
i need to parse a resume which is in .doc format and extract
email id
phone no
name
age
dob
ect
can any one help me
i need to parse a resume which is in .doc format and extract
email id
phone no
name
age
dob
ect
can any one help me
Imports Microsoft.office.interop.word
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim strFileName As String
Dim i As Integer
Dim word As New Microsoft.Office.Interop.Word.Application
Dim doc As Microsoft.Office.Interop.Word.Document
Try
doc = word.Documents.Open("c:\test.doc")
doc.Activate()
For i = 1 To doc.Words.Count - 1
If Trim(doc.Words.Item(i).Text) = "Searchword" Then
MsgBox(Trim(doc.Words.Item(i).Text))
End If
Next
doc.Close()
doc = Nothing
Catch ex As Runtime.InteropServices.COMException
MessageBox.Show("Error accessing Word document.")
End Try
End Sub
End Class
i am having a document file in which resume of a candidate is present and i need to parse that document and extract the name age email id
can any one help
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_wrcore/html/wrtskinstallingofficeprimaryinteropassemblies.asp
Then try the code...you may have to adjust or use the .sentence.