Late binding to Outlook error in Access 2010

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?
kentgorrellAsked:
Who is Participating?
 
Chris BottomleySoftware Quality Lead EngineerCommented:
YUp looks like the first recommendation is a repair and then retry

Chris
0
 
Patrick MatthewsCommented:
Have you checked to see if there are any broken references?
0
 
kentgorrellAuthor Commented:
I'm using Late Binding and no no broken references.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
Chris BottomleySoftware Quality Lead EngineerCommented:
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
 
kentgorrellAuthor Commented:
It's different, with your code I get
error 463 Class not registered on local machine
0
 
Chris BottomleySoftware Quality Lead EngineerCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.