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

Participating Frequently
April 18, 2008
Thanks Aandi, Acrobat standard or prof? 8.1.0 version?

and where is IAC_DEVELOPER_GUIDE.PDF ?
Participating Frequently
April 18, 2008
>and where is IAC_DEVELOPER_GUIDE.PDF ?

In the Acrobat SDK. Don't you have the SDK? If not, what are you using
for reference...?


Aandi Inston
Participating Frequently
April 18, 2008
File Comparison means, I need to take 2 different PDF files and compare them char by char. You r right, there is no API for comparison;I need to write function for that, by creating object like CreateObject("AcroExch.app"). (Same like we do with Excel object CreateObject("Excel.application)).
Participating Frequently
April 18, 2008
Ok... you will be able to extract text, using the JavaScript
interface. You will not be able to get any more information unless you
write a plug-in.

In all cases, Acrobat would be needed. I am not sure if the JavaScript
interface exists in Acrobat Standard, maybe someone can remind me.

Aandi Inston
Participating Frequently
April 18, 2008
Aandi,

The registry entries which are mentioned in the topic description
HKEY_CLASSES_ROOT\AcroExch.App
HKEY_CLASSES_ROOT\AcroExch.App.1
HKEY_CLASSES_ROOT\AcroExch.AVDoc
HKEY_CLASSES_ROOT\AcroExch.Document

I have adobe reader 6 installed on my system. Can you tell me, do we need Acrobat standard or professional ? and which version ?

Thanks,
Nayana
Participating Frequently
April 18, 2008
See the IAC_DEVELOPER_GUIDE.PDF, chapter 2, third paragraph. Acrobat
But I have no idea what you mean by "file comparison"... there is no
API for comparing file.

Aandi Inston
Participating Frequently
April 18, 2008
I could not find the required registry entries on my system. I could find only HKEY_CLASSES_ROOT\AcroExch.Document

Please help !
Participating Frequently
April 18, 2008
What registry entries are required? Do you have Acrobat Professional
or Acrobat Standard installed?

Aandi Inston
Participating Frequently
April 18, 2008
Hi,

I am facing the same problem. Can you please help me to solve it ? I need to do PDF file comparison thru QTP. But it's giving me same error to create an object.

Please help. It's very urgent.

Thanks,
Nayana
Bernd Alheit
Community Expert
Community Expert
November 23, 2007
> I have installed Adobe 8.1.0 version installed on my machine.

Adobe Acrobat Standard or Professional?
Participant
November 23, 2007
Hi All,

I have downloaded SDK8_v2_Full_win.zip and extracted it to C:\Program Files\Adobe folder. I have installed Adobe 8.1.0 version installed on my machine.
ActiveX component cant create object AcroExch.App .

Please help!
Participant
November 23, 2007
Hi All,

I have downloaded SDK8_v2_Full_win.zip and extracted it to C:\Program Files\Adobe folder. I have installed Adobe 8.1.0 version installed on my machine.
ActiveX component cant create object AcroExch.App .
Bernd Alheit
Community Expert
Community Expert
October 16, 2007
You can use this version.
Participant
October 16, 2007
Is it fine if I install Adobe Acrobat Standard 7.0.3 version?