Error creating Outlook.Application / Redemption

  • Thread starter Thread starter Mike Vandemore
  • Start date Start date
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.
 
Do you have any anti-virus software running? It may be blocking that
statement.
 
Back
Top