createobject("Outlook.application") causes an Error -2147024770

T

TarponZeke

I have an application that opens outlook and creates contacts in a particular
folder.

This all works great on my system (using access 2000 and Outlook 2002) and
one of my clients (access 2000, outlook 2002, exchange server).

However, whenever I try and run it at a new client I get the following error:

-2147024770 Automation Error. The specified module could not be found.

This particular client uses Access 2002, Outlook 2003, and Exchange. The
minute I issue the createobject("Outlook.application") statement, it kicks
out this error. Can't figure out what the heck it is doing.

Anyone have any idea what might be up with this?

Thanks for your help.

PZ
 
D

Dave_S_UK

Hi bud,
See Outlook Automation Error posted on 9/18/2004

you need to put
set olApp = CreateObject("Outlook.Application", "localhost")
to solve the problem, whatever the problem may be. Apparantly Norton
Antivirus has a hand in it though
 
K

Karl Weisel

Dave_S_UK,
Thanks for posting this "fix" It helped me greatly. I had 3 of 4
"Identical"
Win XP clients that refused to start Outlook 11. This fixed it up. I also
had to update
to Office SP1, & do a Detect and Repair from the help menu to resolve things.
I believe the working box had Office XP at one point, & was upgraded to 2003

For the record, in case anyone from Norton or MS is actually paying any
attention,
these boxes have the Symantec Anti Virus 2004, version 9.0.0.338
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top