Re: ThisApplication_Startup event not firing

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Disabled items are stored in the registry under a Resiliency key but each disabled addin is noted by a randomly generated value so you can't tell which is which.

Normally, an unshimmed .NET addin (shared addin) shares its AppDomain with all other unshimmed addins. If one gets disabled they all do. However, VSTO sets up it's own shim replacement and has its own AppDomain for each of its addins, so that's not a problem with VSTO.

Are you sure this is a VSTO addin and not a shared COM addin? If you crashed Outlook with a previous incarnation of the same VSTO addin I could see it being disabled, but otherwise not.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Bon733" <bon@xxxxxxxxxxxxxxxxxxxx> wrote in message news:7A208423-606F-4BA2-B543-9F072DEDCF7F@xxxxxxxxxxxxxxxx
Thanks. I just found the problem. For some reason under Help\About\Disabled
Items in Outlook, a previous add-in was selected as disabled. Once I enabled
the add-in, all the remaining add-ins\tests worked as expected in debug mode.

Why would disabling one add-in disable all future add-ins from running? Is
the a setting or an ID that this feature is using to disbale add-ins?

.



Relevant Pages

  • Re: Outlook add-in not appearing consistently
    ... That KB only applies when Office is installed prior to installation of the Framework. ... Disabling an addin usually occurs if there's an unhandled exception that might cause the addin to crash or to crash Outlook. ...
    (microsoft.public.office.developer.com.add_ins)
  • AddOleObject() fails if a key is pressed
    ... The addin adds a number of OLE objects to the form in a loop. ... I tried disabling Events, Calculation etc but could not get a way to ...
    (microsoft.public.excel.programming)
  • Re: Addin error
    ... You just end up disabling the Addin, not uninstalling it. ... > Last time I've tried to run Outlook with my addin installed I guess ...
    (microsoft.public.office.developer.com.add_ins)
  • RE: Deploying Excel COM Addin
    ... It's not the deployment of the COM Addin itself. ... they describe how you manually load this Addin ... Addin in Excels Add-in manager will not be included. ... Microsoft Online Community Support ...
    (microsoft.public.office.developer.com.add_ins)
  • Re: Is it possible to make a custom function behave like a built in on
    ... AFAIK there's no way to get the popup as you type but all the rest can be ... You will normally get the full path if the addin is not loaded or the path ... then tried both installing the add-in through the add-in manager or ... list as you type the function, the way built in functions work. ...
    (microsoft.public.excel.programming)