Run-Time error 429 on CreateObject("Outlook.Application")

  •  Dim olApp As OutLook.Application

    Set olApp = CreateObject("Outlook.Application")

    end's with Run-Time error 429

    ActiveX component can't create object

    how to resolve the problem?

    thanks 

     

  • the correct disclaimers are:

    1. late-binding -

    Dim olApp As Object

    Set olApp = CreateObject("Outlook.Application")

     

    2. Earlier binding

    Dim olApp As New Outlook.Application

    but in both ways you need to connect the Outlook library into Reference list for your MS Access database:

    In your project window or module window, go to Tools -> References ->

    and scroll and find Microsoft Outlook library in the new window of References. Tick it and close the window.

    Enjoy.

    Renat aka Bibigone

     

  • Run the sfc /scannow command in the CMD (Command Prompt) –

    Go to the start menu
    Search or go to the Command Prompt
    Click on that and opens it
    A Pop-up will open there
    Type this below the following command
    ” sfc/scannow “
    After that, press Enter there
    Wait for some seconds there
    After complete, close the tab
    That’s it, done
    Still facing the same error try other methods here
    https://www.errorsolutions.tech/error/runtime-error-429/

  • Solution : Re-register the file specified by the error message

    1. Close any and all open applications.
    2. Make sure that you have the full name of the file specified by the error message noted down someplace safe.
    3. If you’re using Windows 8 or 10, simply right-click on the Start Menu button to open the WinX Menu and click on Command Prompt (Admin) to launch an elevated Command Prompt that has administrative privileges. If you’re using an older version of Windows, however, you are going to have to open the Start Menu, search for “cmd“, right-click on the search result titled cmd and click on Run as administrator to achieve the same result.
    4. Type regsvr32 filename.ocx or regsvr32 filename.dll into the elevated Command Prompt, replacing filename with the actual name of the file specified by the error message. For example, if the error message specified vbalexpbar4.ocx as the file that could not be accessed, what you type into the elevated Command Prompt will look something like:

      regsvr32 vbalexpbar4.ocx

    5. Press Enter.

    Wait for the specified file to be successfully re-registered with your computer’s registry, and then check to see if you have managed to successfully get rid of Run-time error 429.

     

    Regards,

    Peter

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply