Link to home
Start Free TrialLog in
Avatar of kentgorrell
kentgorrell

asked on

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?
Avatar of Patrick Matthews
Patrick Matthews
Flag of United States of America image

Have you checked to see if there are any broken references?
Avatar of kentgorrell
kentgorrell

ASKER

I'm using Late Binding and no no broken references.
Is it any better if you try the following?

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

Open in new window

It's different, with your code I get
error 463 Class not registered on local machine
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
ASKER CERTIFIED SOLUTION
Avatar of Chris Bottomley
Chris Bottomley
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial