Skip to main content
Participant
October 15, 2007
Question

ActiveX component cant create object AcroExch.App

  • October 15, 2007
  • 25 replies
  • 65640 views
I have read an article about accessing PDF's using Acrobat SDK and downloaded Acrobat 7.0.5 SDK version and installed it.

Later I have uninstalled the 7.0.5 SDK version, downloaded SDK8_v2_Full_win.zip and extracted it to C:\Program Files\Adobe folder. I have acrobat reader 8.1.0 installed in my machine.

Now when I run the following code from an automation tool (QTP),Iam getting an error : ActiveX component cant create object AcroExch.App .

Option Explicit
Dim gApp, gPDDoc, jso
Set gApp = CreateObject( "AcroExch.App" )
Set gPDDoc = CreateObject( "AcroExch.PDDoc" )
If gPDDoc.Open( "c:\MyPdfFile.pdf" ) Then
Set jso = gPDDoc.GetJSObject()
jso.console.Show
jso.console.Clear
jso.console.println ( "Hello, Acrobat for QuickTest!" )
gApp.Show
End If
Set jso = Nothing : Set gPDDoc = Nothing : Set gApp = Nothing

Article author told me to check the following keys in registry: -
HKEY_CLASSES_ROOT\AcroExch.App
HKEY_CLASSES_ROOT\AcroExch.App.1
HKEY_CLASSES_ROOT\AcroExch.AVDoc
HKEY_CLASSES_ROOT\AcroExch.Document

I was able to find only 'AcroExch.Document' key in registry my machine.

"AcroExch.App" is not registered, that's why I got the eroor and installation of the SDK did not work in my system.

Please let me know how to get acrobat SDK successfully installed?
This topic has been closed for replies.

25 replies

Bernd Alheit
Community Expert
Community Expert
October 16, 2007
Then buy and install the current version.
Participant
October 16, 2007
Currently I do not have it installed in my machine. Based on the version required I will create a request to install the same.
Bernd Alheit
Community Expert
Community Expert
October 15, 2007
Which version do you have?
Participant
October 15, 2007
Thanks for the reply Bernd Alheit.

Which version of the Adobe Acrobat Standard (or) Prof I need to install in my machine?
Bernd Alheit
Community Expert
Community Expert
October 15, 2007
For the use of AcroExch.App you must have an installation of Adobe Acrobat Standard or Prof.