Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   COM Add in won't load other than with IDE on WS2003/XP (http://www.outlookbanter.com/outlook-vba/10488-com-add-wont-load-other.html)

[email protected] April 4th 06 01:07 PM

COM Add in won't load other than with IDE on WS2003/XP
 
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.


Michael Bauer April 6th 06 07:30 AM

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.


[email protected] April 12th 06 07:56 PM

COM Add in won't load other than with IDE on WS2003/XP
 
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 a
1. Windows 2000/Outlook 2000 - works
2. Windows XP/Outlook 2000 - doesn't work



All times are GMT +1. The time now is 09:13 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com