Enable Outlook Add-In automatically

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

Enable Outlook Add-In automatically
 
Andriy


Guest


Hello!

I am developing an Outlook Add-In with Add-in Express Regions for Microsoft Outlook and VSTO.

I would like to implement the following scenario: my add-in is initailly disabled on Outlook start. Then I would like the add-in to be autmatically enabled after Outlook is fully loaded.

Are there any ways to implement this without creating a separate add-in?
Posted 20 Aug, 2019 06:39:57 Top
nwein




Posts: 577
Joined: 2011-03-28
Posted 20 Aug, 2019 08:26:55 Top
Andriy


Guest


Yes, the issue discussed in that topic is similar.
Just want to clarify whether ADXAddinModule and particulary ADXAddinModule.OnRibbonLoaded event are still available. Where can I find it?
Posted 20 Aug, 2019 09:33:15 Top
nwein




Posts: 577
Joined: 2011-03-28
Oh, I'm terribly sorry, I didn't see you're targeting Regions. I'll let Andrei answer...
Posted 20 Aug, 2019 09:54:35 Top
Andriy


Guest


Ok, thanks. I will wait for Andrei's response.
Posted 21 Aug, 2019 06:26:51 Top
Andrei Smolin


Add-in Express team


Posts: 18787
Joined: 2006-05-11
Thank you, Nir!

Hello Andriy,

I suppose that your actual question is different: how to move some workload from the startup to some other point in time? With Add-in Express forms, you can do this by creating an ADXOlFromsCollectionItem later, when it is really required. Say, when you receive the first Explorer.Activate event (or some other event) in your add-in. As to other parts of your add-in, you can start with the Ribbon UI set to look like if your add-in is disabled, custom panes hidden and all Outlook events detached. In the event of your choice, you modify the Ribbon controls to show them up, show the panes and attach to events; here, your add-in starts working.


Andrei Smolin
Add-in Express Team Leader
Posted 21 Aug, 2019 08:54:35 Top
Andriy


Guest


Hello Andrei,

Thank you for the answer. I think moving further some logic is the most appropriate way.
Posted 21 Aug, 2019 09:44:25 Top
Andrei Smolin


Add-in Express team


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


Andrei Smolin
Add-in Express Team Leader
Posted 21 Aug, 2019 10:04:04 Top