Outlook Add-in button appears on ribbon after 20 seconds - outlook-addin

After updating the manifest.xml to add a second button to the ribbon, it takes about 20 seconds or more after opening the create meeting window for the add-in to appear on the ribbon.
Is there a reason for this behavior?

Related

How to hide ribbon or control user action in microsoft word 2010 vb.net

When user clicks on my programmatically written add-in for Microsoft Word 2010 code does series of actions on the content of document. It takes quite a while for the task to be completed if the document is lets say 40 to 50 pages and the UI was freezing and remained in not responding state till the process completed.
To deal with that problem i used a background worker and added a progress bar so user should know work is under process.
Now while the document is being processed UI does not freeze but user is free to click other customized addins, change content of document etc.
I want to hide the ribbon(including home, insert, Addins) All of it after the user presses any of my addin buttons on the ribbon and show it again when the process completes.
please guide how to achieve this functionality.
Show the progress dialog after starting Background Worker. Once background worker is invoked, and the dialog is shown as Modal, it will freeze the Doc.

Lock ribbon button in VB.NET

I am developing a application in VB.NET. The user interface contains a ribbon tab with a few ribbon buttons. On each ribbon button click event, the application will execute a process.
When a process being executed, I want to lock the click event of other ribbon buttons. It means, the user should not be able to pick the other ribbon buttons.
I do not find the lock property for ribbon buttons. To avoid the button getting grey, I do not want to disable the button. please provide your suggestion.

Refreshing Custom Ribbon Tab in Excel 2010 When Someone Clicks on the Tab

I've been writing a custom ribbon with VSTO (using VB.net and XML) and I have written a number of buttons who's labels & pressed states depend on the calculation mode that Excel is in.
The getPressed and getLabels callback functions check for the excel calculation mode but these are only called when the ribbon is first loaded or the buttons are clicked. If someone were to go into the "formulas" tab, change the calculation mode and then go back to the custom ribbon tab, the pressed states and labels on the buttons in this custom tab would now be incorrect.
Is there a way to trigger these callback functions to be called (eg a way to call the ribbon.invalidate() function) when someone clicks on the custom ribbon tab in Excel?

VB.NET VSTO for PowerPoint 2007?

I am creating a PowerPoint Add-in. I have created Ribbon buttons which when clicked opens Windows Forms. However, how can I communicate from the forms to the active presentation? For example, how to get the active presentation's height and width to two text-boxes in the form when a button (in the form) is clicked?
Got it,
An example is:
Text1.Text = Globals.ThisAddIn.Application.ActivePresentation.PageSetup.SlideWidth / 72

Right Click event not firing in VSTO code for PowerPoint 2010

I'm attempting to add a Context Menu option to PowerPoint 2010 that only appears when text is selected. Unfortunately the WindowBeforeRightClick event does not seem to fire if the mouse is inside of a TextBox.
Is there a different event I need to be listening to or a better way to add that context menu?