For testing purposes I need to get my Outlook 2003 addin (vb.net) disabled so that it can only be reactivated through the help menu or by deleting the resilency key from within the registry.
I tried to achieve this by creating an unhandled invalid cast exception during the startup eventhandler but this does not help. Outlook only says that it could not load the addin but it does not disable it.
How can I create a crash which does disable the addin?