Dmitry Kostochko

Video HowTo: Modify Outlook Inspector command bars (VSTO)

This visual sample highlights the capacities of the ADXOlInspectorCommandBar component that lets you add your own toolbars and modify those that are already in Outlook 2003. Like ADXOlExplorerCommandBar, this component is context-dependent.

You can use the ItemTypes property to specify Outlook item types (Appointment, Mail, Contact, Task, etc.), for which you want to make this command bar visible. You can use the OlInspectorItemTypes and OlItemTypeAction properties of the ADXCommandBarControl class to automatically control the Visible and Enable properties of your commandbar controls.

You can use the AfterID, Before or BeforeID properties of Add-in Express command bar controls to define the position of a given control on the Outlook toolbar. These properties are often used for positioning controls on native Office commandbars.

Now let’s see it in action:

This sample video was captured in Visual Studio 2008 (VB.NET) with Add-in Express 2009 for Office and VSTO. If you develop in .NET, here is the Customizing Outlook Inspector toolbar: VB.NET sample.

You may also be interested in:

Video HowTo: Customize Outlook Inspector menu (VSTO)

Post a comment

Have any questions? Ask us right now!