• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

ActiveX component cant create object AcroExch.App

New Here ,
Oct 15, 2007 Oct 15, 2007

Copy link to clipboard

Copied

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?
TOPICS
Acrobat SDK and JavaScript

Views

62.0K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 15, 2007 Oct 15, 2007

Copy link to clipboard

Copied

For the use of AcroExch.App you must have an installation of Adobe Acrobat Standard or Prof.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 15, 2007 Oct 15, 2007

Copy link to clipboard

Copied

Thanks for the reply Bernd Alheit.

Which version of the Adobe Acrobat Standard (or) Prof I need to install in my machine?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 15, 2007 Oct 15, 2007

Copy link to clipboard

Copied

Which version do you have?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 16, 2007 Oct 16, 2007

Copy link to clipboard

Copied

Currently I do not have it installed in my machine. Based on the version required I will create a request to install the same.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 16, 2007 Oct 16, 2007

Copy link to clipboard

Copied

Then buy and install the current version.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 16, 2007 Oct 16, 2007

Copy link to clipboard

Copied

Is it fine if I install Adobe Acrobat Standard 7.0.3 version?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 16, 2007 Oct 16, 2007

Copy link to clipboard

Copied

You can use this version.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 23, 2007 Nov 23, 2007

Copy link to clipboard

Copied

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 .

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 23, 2007 Nov 23, 2007

Copy link to clipboard

Copied

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!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 23, 2007 Nov 23, 2007

Copy link to clipboard

Copied

> I have installed Adobe 8.1.0 version installed on my machine.

Adobe Acrobat Standard or Professional?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 17, 2008 Apr 17, 2008

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 17, 2008 Apr 17, 2008

Copy link to clipboard

Copied

I could not find the required registry entries on my system. I could find only HKEY_CLASSES_ROOT\AcroExch.Document

Please help !

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 17, 2008 Apr 17, 2008

Copy link to clipboard

Copied

What registry entries are required? Do you have Acrobat Professional
or Acrobat Standard installed?

Aandi Inston

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 18, 2008 Apr 18, 2008

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 18, 2008 Apr 18, 2008

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 18, 2008 Apr 18, 2008

Copy link to clipboard

Copied

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)).

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 18, 2008 Apr 18, 2008

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 18, 2008 Apr 18, 2008

Copy link to clipboard

Copied

Thanks Aandi, Acrobat standard or prof? 8.1.0 version?

and where is IAC_DEVELOPER_GUIDE.PDF ?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 18, 2008 Apr 18, 2008

Copy link to clipboard

Copied

>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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Apr 20, 2008 Apr 20, 2008

Copy link to clipboard

Copied

You need Acrobat Professional for that. All required APIs are not available in Standard.

If you are using the version 8 SDK, you need an 8.x version of Acrobat Professional or the headers will not compile properly. If you are using Acrobat 6, you need the version 6 SDK. You cannot compile plug-ins for Acrobat 6 with the Acrobat 8 SDK.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 21, 2008 Apr 21, 2008

Copy link to clipboard

Copied

Thanks PDL, I will install Acrobat professional only and will let you know. It should really solve this error. Thanks once again !

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 18, 2008 Jul 18, 2008

Copy link to clipboard

Copied

I have the same problem. With only Adobe Acrobat 5.0 installed all works fine, then I have installed the Acrobat Reader 8.0 and now with the reader open (with or without a open document) if I use CreateObject("AcroExch.App") in my code the reader show a message saying document could not be found (what document?) and the code raise the error "ActiveX component cant create object AcroExch.App", I can't believe I have to write a different code for any combination of Acrobat and Acrobat Reader version installed on users PC. Also I discovered a problem with DDE command FilePrintSilent not supported by Reader 8.0 :-/.

Thanks for any help

Fabrizio

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 18, 2008 Jul 18, 2008

Copy link to clipboard

Copied

Adobe don't support more than one Acrobat/Reader product on the same
PC. Since they cannot run at the same time, and have different
capabilities you have a problem.

However, if you make sure Acrobat, not Reader, is started FIRST and
already running this may reduce problems.

Aandi Inston

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 18, 2008 Jul 18, 2008

Copy link to clipboard

Copied

Not all code created for Adobe Acrobat will work with Adobe Reader.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines