outlook ComAddin deactivated

  • Thread starter Thread starter yves pion
  • Start date Start date
Status
Not open for further replies.
Y

yves pion

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.
 
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.

"yves pion" <hotline@socetem.fr> wrote in message

news:u4y58Ii$KHA.5044@TK2MSFTNGP04.phx.gbl...
> 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.
>
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
J column with actual email address in Outlook Classic Using Outlook 2
S Not receving all email since converting from Outlook 2007 to Outlook Classic Using Outlook 3
Rupert Dragwater Outlook 365 taking too long to synchronize each time email is being checked Using Outlook 2
Hornblower409 Outlook VBA Code Example - Unified inbox in Outlook Classic Outlook VBA and Custom Forms 5
J Need replacement for iTunes to locally (USB) sync. iPhone 17 to Classic Outlook 2024 Using Outlook 4
Thomas Fast Best way to manage incoming customer emails automatically in Outlook? Using Outlook 1
I Outlook 2024 Windows 11 Gmail - sudden log in problems Using Outlook 11
S Outlook Classic on 2024 Using Outlook 10
L Fresh Install of Windows 11, saved previous image, how to retrieve Outlook Contacts Using Outlook 10
C Can't Use Custom Contact form in Outlook Classic since early January 2026 Outlook VBA and Custom Forms 7
e_a_g_l_e_p_i Need help updating email in Outlook 2021 Using Outlook 10
V Outlook spam filter misbehaving Using Outlook 9
L what are the downsides of running both classic and new outlook on same win 11 pc? Using Outlook 2
P Preventing permanent deletions in Outlook on the Web Using Outlook 0
L any trick to embedding images in new outlook and outlook on the web contacts? Using Outlook 4
L new outlook contacts searching Using Outlook 5
R Outlook 2010 Outlook 2010 migration question Using Outlook 2
W New Outlook PEOPLE blank Using Outlook 6
C New Outlook issues with Gmail, particularly labels/folders Using Outlook 3
E What is the next workaround for macro in New Outlook 1.2025.1111.100 Outlook VBA and Custom Forms 3
E Need to digitally sign macro but VBA\Outlook crash Outlook VBA and Custom Forms 4
P Outlook 2003 no longer opens "without" Folder List Showing in Navigation Pane Using Outlook 2
Hornblower409 Outlook 2010 - Never ending update Using Outlook 0
V Outlook created new profile? Using Outlook 1
J Outlook inbox question Using Outlook 4
T How to Add AT&T Contacts to Outlook 365 Using Outlook 5
F Outlook 2021 outlook on iPhone Using Outlook 1
F Outlook 2021 Outlook on iPhone asks for password Using Outlook 0
P ics calendar entries suddenly open up new Outlook Using Outlook 3
P Outlook "forgets" password until system rebooted Using Outlook 2
N Why does Outlook keeping adding to the email address I have in my notes portion of a contact? Using Outlook 2
M Anyone integrated AI website builders with Outlook for automated client communications? Using Outlook 4
V Gmail in Outlook Using Outlook 2
T Where has the Copilot icon gone in my Outlook desktop client? Using Outlook 10
P New way by Microsoft to get people to use the new Outlook Using Outlook 4
C How to keep emails in account in Outlook after closing the IMAP account Using Outlook 1
cymumtaz IMAP calendars in New Outlook Using Outlook 5
T Constantly Have To Log In To Outlook On The Web Using Outlook.com accounts in Outlook 2
T Cannot Find Outlook Noted On Android Using Outlook 4
O Outlook 2024 not showing that messages are replied to or forwarded Using Outlook 3
C Outlook 365 send/receive takes FOREVER - as in 40 minutes Using Outlook 7
I Outlook 2024 LTSC syncing with iCloud calendar - can only make appt. in iCloud Using Outlook 2
Kika Melo Outlook ribbon customisations do not 'stick' Using Outlook 12
J IMAP Folders Confusion in Windows Classic Outlook Using Outlook 1
A Missing Sent Emails in New Outlook Using Outlook 18
S Missing categories in Outlook calendar Using Outlook 10
P Windows 11 tries to open New Outlook when the user clicks on the mail icon on a news article Using Outlook 2
C I don't understand Outlook or Microsoft, anymore Using Outlook 12
P My Feedback to Microsoft and their response; also New Outlook roadmap Using Outlook 0
A New Outlook - Cannot drag IMAP emails to Task List in MyDay Using Outlook 1

Similar threads

Back
Top