Programming Outlook add-in / plugin
in Visual Studio .NET - C++, C#, VB.NET, Chrome
Add-in Express™ 2007
Add-in Express .NET and Outlook add-insTo considerably facilitate programming of Outlook COM add-ins, or plug-ins, in Visual Studio, Add-in Express 2007 for .NET provides several specific features that are a "hard nut" to implement using Outlook objects. These features are: special Outlook Explorer command bars, special Outlook Inspector command bars, option pages and Folder property pages, context sensitivity for command bars and option/property pages. With Add-in Express you can write a COM add-in for Microsoft Outlook 2000, 2002 (XP), 2003 and Outlook 2007 in C++, C#, Visual Basic (VB .NET) and RO Chrome. 1. Create a new Outlook COM add-in projectIn the Visual Studio IDE, select the "New | Project" item on the main menu, and run the "Add-in Express COM Add-in" wizard via the "Other Projects | Extensibility Projects" item of the "New Project" dialog box. Enter your project name, click Next, choose a programming language, select Outlook as a host application for your add-in and click Finish. The wizard generates a new add-in solution and opens it in Visual Studio. The Outlook COM add-in solution includes the add-in project and a setup project (optional). Benefits:
2. Add-in Module in Outlook add-in projectsAddinModule.vb (AddinModule.cs) is the heart of your add-in. You place components onto the Add-in Module designer instead of programming the user interface of your Outlook add-in. You also write the code of your add-in to the Add-in module. Benefits:
Essential technical information:
3. Customizing Outlook Ribbon user interfaceAdd appropriate Ribbon-related components to the Add-in module and use their editors to customize your add-in's interface in Office 2007. Benefits:
Essential technical information:
4. Creating Outlook custom task panesAdd a UserControl to your project, add an item to the TaskPanes collection, and set up the item by choosing the UserControl in the ControlProgId property and filling in the Title property. Benefits:
Essential technical information:
5. Traditional command bars and commandbar controls in OutlookAdd one or more special Outlook Explorer CommandBar and Outlook Inspector CommandBar component to the Add-in Module and populate its Controls collection using a handy editor. Bind the component to a built-in Outlook command bar specifying the command bar name in the component's CommandBarName property. Create a custom command bar specifying a unique name in the CommandBarName property. Use the Folder Name, FolderNames, and ItemTypes properties to add context-sensitivity to your toolbars. Benefits:
Essential technical information:
6. Outlook options pages and folder property pagesAdd a special Outlook Property Page component to your project, bind the component to the Add-in module, and specify the Title of the Options page. Use the same technique to create context-sensitive property pages for the Folder Properties dialog. Benefits:
Essentials:
7. Advanced Outlook customizationsUse View Regions and Advanced Form Regions provided by the Add-in Express 2007 Extensions for Microsoft Outlook for customizing Outlook user interface and programming commercial-class Outlook add-ins. 8. Intercepting keyboard shortcuts in Outlook add-insAdd a Keyboard Shortcut component to the Add-in module and specify the shortcut you need to intercept. Then you handle the Action event of the component.
Benefits:
Essential technical information:
9. Deploying Outlook add-inAdd-in Express add-ins are based on the Add-in Express Loader which is a feature-rich shim and bootstrap application. With automatically generated setup project, the Add-in Express Loader provides you with the following benefits:
See also: Free sample Outlook add-in in .NET |
See Also
|