Solved

Late binding to Outlook error in Access 2010

Posted on 2011-02-22
6
893 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
  • 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Create high volume marketing opportunities using email signatures with these top 10 DOs and DON'Ts of email signature marketing.
Resolve DNS query failed errors for Exchange
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …

707 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now