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

[166 byte] By [Rajeshbatchu] at [2007-12-24]
# 1
I guess one way is:

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

wrecklesswun at 2007-8-31 > top of Msdn Tech,Visual Basic,Visual Basic General...
# 2
to do the above coding what all i should import or add reference and how to do plz help me
Rajeshbatchu at 2007-8-31 > top of Msdn Tech,Visual Basic,Visual Basic General...
# 3

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

Rajeshbatchu at 2007-8-31 > top of Msdn Tech,Visual Basic,Visual Basic General...
# 4
You need to add a reference to Microsoft.Office.interop.word, which can be found here:

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.

wrecklesswun at 2007-8-31 > top of Msdn Tech,Visual Basic,Visual Basic General...