Dim adAcrobatApp As New Acrobat.AcroPDDoc
Dim adAcrobatDoc As Object
The above two lines i declare in genral
If InStr(1, filename, ".pdf") > 0 Then
If Not (adAcrobatDoc Is Nothing) Then
MsgBox " Aplication is already running"
adAcrobatApp.Open (filename)
Exit Sub
ElseIf adAcrobatDoc Is Nothing Then
MsgBox "Application not running"
Set adAcrobatDoc = CreateObject("AcroExch.PDDoc")
MsgBox filename
adAcrobatApp.Open (filename)
End If
This the code i written my porblem is iam getting the adobe window but its showing the file doesnot exsisit
and later few seconds debug msg that Runtime error:429 ActivexComponet can't create object so kindly help me how to resolve this issue
Thanks In advance