You can write code to check the COMAddins collection for your COMAddin
object of interest and then check the .Connect Boolean property of
that COMAddin object. The COM addin can also use the On_Disconnection
event and see which method was used to disconnect the addin. If
RemoveMode = ext_dm_UserClosed then the user disconnected the addin.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Lead Author, Professional Outlook 2000 Programming, Wrox Press
Lead Author, Beginning VB 6 Application Development, Wrox Press
Attachment Options
http://www.slovaktech.com/attachmentoptions.htm
Extended Reminders
http://www.slovaktech.com/extendedreminders.htm
Martin Nemzow said:
for security reasons I need to make certain outlook does not start without
com addin and that user does not try to unload it from outlook.
Ideas?