Addin to detect another Addin?

Add-in Express™ Support Service
That's what is more important than anything else

Addin to detect another Addin?
 
Subscribe
Richard Stevens




Posts: 43
Joined: 2007-01-24
Hi - one of our Addins seems to be particularly prone to being disabled by Outlook. Despite adding it to the "Do Not Disable" list etc, sometimes it just gets switched off. We think this is because it requires a database connection and sometimes because of network issues the database can be slow to respond.

Part of the problem is that users don't even notice the addin is gone for some time. I was thinking that perhaps we could have a second, very lightweight addin, with no network dependency, whose only job was to detect the existence and state of the first Addin. It could then alert the user to the need to reinstate the addin.

Andrei and team - do you have any thoughts as to how I can detect what Addins are loaded, and what state they're in?

Many thanks
Richard
Posted 14 Sep, 2017 06:25:34 Top
Andrei Smolin


Add-in Express team


Posts: 14129
Joined: 2006-05-11
Hello Richard,

You can find your add-in using {an Application object such as OutlookApp}.COMAddins.Item(strMyAddinProgId). This returns a COMAddin object; see https://msdn.microsoft.com/en-us/vba/office-shared-vba/articles/comaddin-object-office. You use COMAddin.Connect to read and set the connected status of your add-in. See also https://www.add-in-express.com/forum/read.php?FID=1&TID=14163.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 14 Sep, 2017 07:17:27 Top
Richard Stevens




Posts: 43
Joined: 2007-01-24
Thank you very much as always Andrei.
Posted 14 Sep, 2017 07:22:48 Top
Andrei Smolin


Add-in Express team


Posts: 14129
Joined: 2006-05-11
You are welcome!

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 14 Sep, 2017 07:29:14 Top