View Single Post
  #2  
Old April 6th 06, 07:30 AM posted to microsoft.public.outlook.program_vba
Michael Bauer
external usenet poster
 
Posts: 435
Default COM Add in won't load other than with IDE on WS2003/XP

Am 4 Apr 2006 04:07:09 -0700 schrieb :

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?

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
--
www.vbOffice.net --


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.

Ads