I have a very strange problem with an AddIn I developed.
Clients complain of the AddIn being disabled by outlook because of slow loading times but in my code (1.2s on avrg), I don't have any other custom codes running during start up apart from AddIn Express generated code which can be seen below.
private void ThisAddIn_Startup(object sender, System.EventArgs e)
{
logger.Debug("Startup called");
this.AddInStartup();
#region Add-in Express Regions generated code - do not modify
this.FormsManager = AddinExpress.OL.ADXOlFormsManager.CurrentInstance;
this.FormsManager.OnInitialize += new AddinExpress.OL.ADXOlFormsManager.OnComponentInitialize_EventHandler(this.FormsManager_OnInitialize);
this.FormsManager.Initialize(this);
#endregion
logger.Debug("Exit Startup");
}
Also, I have a ribbon Ribbon (Button), that gets loaded.
All functionality codes for the addIn such as login, webservice calls are only performed when outlook is opened with the Ribbon button clicked.
Are there any underlying issues i may have looked past or possible external reasons not related to my code where outlook will complain of my addIn starting up slow when all that happens is just the ribbon being loaded during outlook start time ?