A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

outlook ComAddin deactivated



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 28th 10, 06:57 AM posted to microsoft.public.outlook.program_vba
yves pion
external usenet poster
 
Posts: 2
Default outlook ComAddin deactivated

Hello,
I have developped a ComAddin for olk2003 in VB6.
the ComAddin is activated each time Outlook starts.
For many days, the comaddin works fine, but sometimes for a unknown reason,
it is deactivated (found in outlook 'deactivated component' ).
I have handled all errors inside my Comaddin , so i cannot understand why i
could be deactivated.

Is there a solution to keep the comaddin always activated ?
Thanks in advance.


Ads
  #2  
Old May 28th 10, 03:46 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default outlook ComAddin deactivated

If your addins crashes Outlook, or gets blamed for crashing Outlook there's
nothing you can do to prevent it from being disabled.

There are cases where some other addin or automation code might crash
Outlook or crash the VB runtime, and just because your addin is VB6 it will
be blamed, and there's nothing you can do.

One such case was (possibly still is) Apple's ITunes synching software. It
tried to use the Outlook object model from a background thread, which will
crash or hang Outlook. Due to how the stack is implemented that ended up
having Outlook blame any VB6 addin for the crash, as the first place it
happens is from the VB6 runtime.

In cases like that you need to know every other addin the user is running.
Have them disable all of them and see if the problem goes away. Then
re-enable them one at a time until the problem comes back (assuming only 1
badly written addin of course) and that's the problem one. You still need to
ensure that you aren't leaving any exceptions unhandled.

One other thing that may occur is exceptions from system dll's such as
kernel32.dll or ntdll.dll. Sometimes those can be fired by WordMail or other
out of process code and you won't even get an exception bubble up to you.
For those you need to isolate the cause and try to figure out how you're
causing the exception.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"yves pion" wrote in message
...
Hello,
I have developped a ComAddin for olk2003 in VB6.
the ComAddin is activated each time Outlook starts.
For many days, the comaddin works fine, but sometimes for a unknown
reason, it is deactivated (found in outlook 'deactivated component' ).
I have handled all errors inside my Comaddin , so i cannot understand why
i could be deactivated.

Is there a solution to keep the comaddin always activated ?
Thanks in advance.


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Office::COMAddIn::put_connected NOT WORKING under VIsta Gancev Add-ins for Outlook 1 July 21st 08 04:04 PM
Office::COMAddIn::put_Connect not working under VISTA Gancev Add-ins for Outlook 0 July 21st 08 12:30 PM
problems with calendar coloring options when Windows XP theme deactivated .·:m·a·r·l·a:·. Outlook - General Queries 1 September 21st 06 02:33 PM
C# ComAddIn: Imitate "Drag & Drop" Ole Jaekel Add-ins for Outlook 0 February 3rd 06 01:44 PM


All times are GMT +1. The time now is 05:07 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.