hi,

i need to know the vb code for opening acad and acrobat files - the following code which i used gives me errors/nothing happens.

Dim EAcad As New AutoCAD.AcadApplication
Dim eAdoc As New AutoCAD.AcadDocument
Set eAdoc = GetObject(filepath)
Set EAcad = eAdoc.Application

and

Dim adb As Acrobat.CAcroAVDoc
adb.Open szFullPath:=filename, szTempTitle:=filename
adb.FindText Text2.Text, 0, 0, 0

thanks.