Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

ActiveX component can't create object

Posted on 2009-05-12
9
Medium Priority
?
723 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
[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
  • 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
Does Your Cloud Backup Use Blockchain Technology?

Blockchain technology has already revolutionized finance thanks to Bitcoin. Now it's disrupting other areas, including the realm of data protection. Learn how blockchain is now being used to authenticate backup files and keep them safe from hackers.

 
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying 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

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

670 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