Checking add-in is registered and active

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

Checking add-in is registered and active
 
Marco




Posts: 6
Joined: 2018-03-02
Hello,

I’m using the “adxregistrator.exe” to register/unregister my add-in in Word and I would like to figure out if my add-in is already registered and active in the Word without looking in the Windows registry? Is there some easy way to do it, maybe over another “adx” program?
Posted 13 Jul, 2018 03:22:44 Top
Andrei Smolin


Add-in Express team


Posts: 15595
Joined: 2006-05-11
Hello Marco,

You can use COMAddin.Connect (https://msdn.microsoft.com/en-us/vba/office-shared-vba/articles/comaddin-connect-property-office) to find this.

{host application's Application object}.COMAddins.Item(strMyComAddinProgId).Connect

strMyComAddinProgId - see the ProgId attribute of your add-in module.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 13 Jul, 2018 04:48:20 Top
Marco




Posts: 6
Joined: 2018-03-02
Hello Andrei,

Perfect, that’s exactly what I was looking for. Thank you :)
Posted 13 Jul, 2018 06:26:27 Top
Andrei Smolin


Add-in Express team


Posts: 15595
Joined: 2006-05-11
Welcome!

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 13 Jul, 2018 06:53:33 Top