This sample demostrates how to add custom property pages to both
Folders & Options using Visual Studio Tools For Office — Outlook and Visual Basic 2005.
Download
Discussion
This sample demostrates the following:
- Using VSTO for Outlook 2.0 with Visual Basic 2005.
- Adding a custom page to Outlook's “Tools — Options” dialog.
- Adding a custom page to individual Outlook folder property dialogs.
- Getting the IOleObject client site allowing a custom page to notify Outlook of changes.
This sample defines the following types:
|
Type |
File |
Description |
|
FolderPropertyPage
|
FolderPropertyPage.vb
|
A custom MAPI Folder property page.
|
|
OptionPropertyPage
|
OptionPropertyPage.vb
|
A custom “Tools — Options” property page.
|
|
PropertyPageBase
|
PropertyPageBase.vb
|
Base page common to all custom property pages. This class implements Outlook.PropertyPage for you.
|
|
ThisApplication
|
ThisApplication.Info.vb
|
Provides information specific to the current Add-in’s assembly.
|
|
ThisApplication
|
ThisApplication.vb
|
Event handlers that add custom property pages to either a MAPI Folder or “Tools — Options”.
|
See Also
System Requirements