Results 1 to 10 of 10

Run-time-error '429': ActiveX component can't create object

Threaded View

  1. #1
    Forum Contributor
    Join Date
    04-05-2011
    Location
    behind you!
    MS-Off Ver
    Excel 2010
    Posts
    116

    Run-time-error '429': ActiveX component can't create object

    Hi,

    Sub main()
    
        Dim AcroApp As Acrobat.CAcroApp
        Dim theForm As Acrobat.CAcroPDDoc
        Dim jso As Object
        
        Set AcroApp = CreateObject("AcroExch.App")
        Set theForm = CreateObject("AcroExch.PDDoc")
        theForm.Open ("C:\YourPage.pdf")
        
    
        theForm.Close
         
        AcroApp.Exit
        Set AcroApp = Nothing
        Set theForm = Nothing
         
        MsgBox "Done"
    End Sub
    by running this soubroutine, line Set AcroApp = CreateObject("AcroExch.App") throws this error:

    Run-time-error '429':

    ActiveX compoenent can't create object


    I have added these references to call Adobe Reader:
    Adobe Acrobat 10.0 Type Library
    Adobe Acrobat Browser Control Library 1.0


    What is wrong?

    Thank you very much!

    Regards,
    Lloyd
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1