Solved

Late binding to Outlook error in Access 2010

Posted on 2011-02-22
6
898 Views
Last Modified: 2012-05-11
I'm getting the error
429 - ActiveX component can't create object
when using

    Dim appOutlook as object
    Set appOutlook = CreateObject("Outlook.Application")

This used to work OK but now fails whether Outlook is already running or not.
Any suggestions?
0
Comment
Question by:kentgorrell
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 92

Expert Comment

by:Patrick Matthews
ID: 34957896
Have you checked to see if there are any broken references?
0
 

Author Comment

by:kentgorrell
ID: 34957921
I'm using Late Binding and no no broken references.
0
 
LVL 59

Expert Comment

by:Chris Bottomley
ID: 34958479
Is it any better if you try the following?

Chris
Dim appOutlook as object
        Set appOutlook = CreateObject("Outlook.Application", "localhost")

Open in new window

0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:kentgorrell
ID: 34959324
It's different, with your code I get
error 463 Class not registered on local machine
0
 
LVL 59

Expert Comment

by:Chris Bottomley
ID: 34959410
Hmmm implies that there is an issue with outlook itself to me.  The problem is you say outlook is ok, will have to look into it but I am guessing a repair / re-insall type solution!

Chris
0
 
LVL 59

Accepted Solution

by:
Chris Bottomley earned 500 total points
ID: 34959457
YUp looks like the first recommendation is a repair and then retry

Chris
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question