COM Add in won't load other than with IDE on WS2003/XP

  • Thread starter Thread starter gavin
  • Start date Start date
G

gavin

Hi

I am trying to develop a COM Add-In for outlook 2003 in VB6 (SP6). My
development machine is Windows 2003 server ( I normally develop web
apps).

I have followed the instructions and implemented IDTExtensibility2. I
have put no code other than a msgbox in the OnConnection event.

I can add the COM Add-In fine and it works - but only if I am running
the ActiveX project in the VB IDE at the time. If i shut outlook and
restart without the IDE running (have comiled and registered the DLL)
then Outlook does not laod the Add-In giving the message in the Add-In
dialog "Not Loaded. A runtime error occurred during the loading of the
COM Add-In."

The same DLL works OK on a Win2K server/Outlook 2000 machine, but not
on XP/Outlook 2000 which makes me think it is a XP/2003 issue. I tried
signing the DLL with a code signing cert issued by a trussted CA, but
this makes no difference.

Does anybody have any ideas?

Thanks in advance.
 
Am 4 Apr 2006 04:07:09 -0700 schrieb (e-mail address removed):

As you messed up the Outlook versions at the buttom of your message, is it
possible that the Add-In runs fine with Outlook 2003 and doesn´t with
Outlook 2000?
 
Hi Viele

Thanks for your reply.

I wrote the Add-In on a Windows 2003/Outlook 2003 environment. It will
only work on that platform running in the IDE.

The other environments I have tested it on are:
1. Windows 2000/Outlook 2000 - works
2. Windows XP/Outlook 2000 - doesn't work
 
Back
Top