Outlook Add In is not shown for 1 user...

  • Thread starter Thread starter Pieter Coucke
  • Start date Start date
P

Pieter Coucke

Hi,

I developped some time ago an Outlook Add In (VB.NET 2005) that worked fine
during several months with all the users.

Suddenly, 2 weeks ago it stopped working for one of the users. The
administrator desinstalled it and installed it again, but that didn't work.
i did the same, desinstalled it, rebooted, removed everything I could find
about it in the registry of file system (nothing in both cases), reinstalled
it, but still not working... It works for every user on that pc, but not
forthis specific user...

I added a MessageBox at the beginning of the "Private Sub
ThisApplication_Startup(ByVal sender As Object, ByVal e As System.EventArgs)
Handles Me.Startup"-startup to be sure if it started or not, but the
MessageBox is never shown...

Does anybody has any idea why this happens?

and how to find a solution for this? Is there somehow a way to see which Add
Ins are available for who?

Thanks a lot in advance,

Pieter
 
This is most likely because the add-in is listed in the Disabled Items list
from the Help -> About menu.

To see the list of available add-ins, go through Tools -> Options -> Other
-> Advanced Options... -> COM Add-Ins...

Also ensure that the LoadBehavior setting in
HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\Addins\<add-in name> is
set to 3.
 
Eric Legault said:
This is most likely because the add-in is listed in the Disabled Items
list
from the Help -> About menu.

It was indeed this! Thanks a lot!
Any idea why this happens? and is there somehow a way to get a warning when
an Add In gets disabled?
 
Add-ins can become disabled if Outlook crashes frequently. One way to detect
if an expected add-in doesn't get loaded is through the COMAddIns collection:

If Application.COMAddIns(1).Connect Then
MsgBox "The add-in is connected."
Else
MsgBox "The add-in is not connected."
End If

You can run this during the Application_Startup event.

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/
 
Back
Top