Error creating Outlook.Application / Redemption

M

Mike Vandemore

I have a VB6 application which integrates with Outlook Contacts in
order to look up names and phone numbers. I am using Redemption with
the MAPITable object to read the names from Outlook Contacts. On most
computers this works great.

For some reason, or certain computers, I am unable to connect to
Outlook because I get an error on creation of the object.

The line of code is simply:

Set objOutlookApp = CreateObject("Outlook.Application")

(I have also tried: Set objOutlookApp = New Outlook.Application)

And on the computers which this command fails, the error message is
Error 48, "Error Loading DLL".

It does not appear to matter whether the computers are running Win2000
or XP or whether it's Outlook 2000 or 2003. These computers are
up-to-date with service packs and otherwise run Outlook with out
problem.

I have done a number of GIS searches but I haven't found anything that
led me to a solution. I would be grateful for any suggestions.

Mike V.
 
S

Sue Mosher [MVP-Outlook]

Do you have any anti-virus software running? It may be blocking that
statement.
 
S

Sharad Naik

Try running 'Detect and Repair' in the outlook on those problematic PCs.

Sharad
 

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