7 Replies Latest reply on Aug 18, 2011 1:49 PM by ManojBavikati

    Acrobat - Cannot create ActiveX component


      I'm using Visual Studio 2005 (.Net 2.0) Console Application to interact with Acrobat 9.  I'm trying to open an existing PDF and Save as TIFF (using the JSObj = PDDoc.GetJSObject() and JSObj.SaveAs()).  On the development computer with Acrobat 9.1.3 installed it works fine.  If I move the executable to my colleague's development machine (Acrobat 9.2) the code throws error: Cannot create ActiveX component.  The Interop.Acrobat.dll resides in the same folder as the .Net exe.  Last month, this worked fine on my collleague's computer.  What has changed on his computer to prevent the ActiveX component from launching?  Below is the code snippet.  Other info: Acrobat 9.2 is the only Adobe app installed on the destination computer.


      Any ideas would be helpful.

      Dim PDFApp As Acrobat.AcroApp
      Dim PDDoc As Acrobat.CAcroPDDoc
      Dim AVDoc As Acrobat.CAcroAVDoc
      Dim JSObj As Object


        ' Create Acrobat Application object
        PDFApp = CreateObject("AcroExch.App")

        ' Create Acrobat Document object
        PDDoc = CreateObject("AcroExch.PDDoc")