Solved

ActiveX component can't create object

Posted on 2009-05-12
9
718 Views
Last Modified: 2012-05-06
I've got a computer that's been running Office 2003. We upgraded Outlook to version 2007. Now my Access VBA code can't communicate with Outlook. Any ideas how to fix this?
Set olApp = GetObject(, "Outlook.Application")
If TypeName(olApp) = "Nothing" Then Set olApp = CreateObject("Outlook.Application")

Open in new window

Nancy-ActiveX.bmp
0
Comment
Question by:GordonPrince
  • 4
  • 3
  • 2
9 Comments
 
LVL 47

Expert Comment

by:apache09
ID: 24370541
Try chaning your settings in Trust Centre
Tools>Trust Centre

Try reducing the security settings in Progammatic Access and Macro Security settings.

0
 
LVL 4

Author Comment

by:GordonPrince
ID: 24371135
Allowed all activity in the Trust Center -- no change. Still the same error message.
0
 
LVL 4

Author Comment

by:GordonPrince
ID: 24371136
I think I've seen some things like this before. The solution might be in the registry, but where is the setting for how Outlook is supposed to be controlled by another program? That's just a hunch I have.
0
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
LVL 47

Expert Comment

by:apache09
ID: 24371273
Usually other applications that access or send mail via Outlook actually use MAPIMAIL.
I would suspect that this has either been disabled after the upgrade or has become corrupt.
You may try renaming your MAPI dlls and or running FIX MAPI

http://www.ctimls.com/Support/KB/Error%20Fixes/Fix_Mapi_error.htm



0
 
LVL 6

Expert Comment

by:BALMUKUND KESHAV
ID: 24371882
Activex Component being used by your Access App is older, either you upgrade your Access too or reinstall outlook 2003.

You can try to change activex component in Access App to latest one.

Best of luck...

Bm Keshav
0
 
LVL 4

Accepted Solution

by:
GordonPrince earned 0 total points
ID: 24373562
I ran into an unrelated message on the user's computer that the Database Splitter wasn't installed. So I looked in Add/Remove Programs and saw that -- for some reason -- not all of Office 2003 was installed (application dropdowns were grey instead of white). After updated the Office 2003 installation to [Run all from my computer] on everything except Outlook (since Outlook 2007 is installed), everything started working.
0
 
LVL 47

Expert Comment

by:apache09
ID: 24379819
Glad you got it sorted.
0
 
LVL 6

Expert Comment

by:BALMUKUND KESHAV
ID: 24500970
Gordon Prince, can you share the solution please.

Bm Keshav
0
 
LVL 4

Author Comment

by:GordonPrince
ID: 24501666
The solution is in my comment from 5/13/2009 above. All of Office 2003 was not installed.
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

In this step by step procedure, you will come to know the details of creating an Outlook meeting in 2007, 2010, 2013 & 2016.
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…

831 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