Outlook 2007 Add-Ins: RulesAddin, TravelAgencyAddin, and PrepareMeAddin

The three sample add-ins provided in this download are available in C# and Visual Basic .NET versions. They demonstrate many of the new and enhanced features of the Outlook object model
  • Version:


    File Name:


    Date Published:


    File Size:

    973 KB

      The Outlook 2007 Sample Add-Ins are a learning tool that will help you understand some of the important new features in the Outlook 2007 object model. Each sample is available in a version for Visual Studio 2005 Tools for Office Second Edition (VSTO 2005 SE) in addition to the version based on the Outlook 2007 Sample: Visual Studio 2005 Templates.
      They provide coverage of the following important new areas:
      • Using the Rules object model, which allows you to programmatically create or access most rules supported by the Outlook Rules Wizard (Rules sample)
      • Implementing a form region for an Outlook contact item (Travel Agency sample)
      • Adding a custom task pane to an Outlook AppointmentItem (Prepare Me sample)

      For more information, see the article that accompanies this download: Outlook 2007 Sample Add-ins: Rules Add-in, Travel Agency Add-in, and Prepare for Meeting Add-in.
  • Supported Operating System

    Windows Server 2003 Service Pack 1, Windows Vista, Windows XP Service Pack 2

      • This download works with the following applications:
        • Microsoft Office Outlook 2007
        • Microsoft Visual Studio 2005
        • Microsoft Visual Studio 2005 Tools for the 2007 Office system
      Note The Outlook 2007 sample add-ins run only on Visual Studio 2005 Standard Edition, Visual Studio 2005 Professional Edition, or Visual Studio 2005 Team System. If you are using Microsoft Visual C# Express Edition or Microsoft Visual Basic Express Edition to open the sample add-ins, you will not be able to build the setup/deployment project for the sample add-ins.
    • To install this download:
      1. Download the file by clicking the Download link (above) and saving the file to your hard disk.
      2. Double-click the Outlook2007SampleAddin.msi program file on your hard disk to start the setup program.
      3. Follow the instructions on the screen to complete the installation.

      Note: Before you install this version of the Outlook 2007 sample add-ins, make sure you uninstall any previous version of the samples that are installed on your computer.
      Note: Each sample solution is contained in a solution folder and subfolders. The suffix of the sample solution name identifies the language used for the sample. Visual Basic .NET samples have a VB suffix and C# samples have a CS suffix. For example, RulesAddinVB contains the Visual Basic .NET version and RulesAddinCS contains the C# version. The samples for VSTO 2005 SE have "_VSTO" appended to the solution name.

      Instructions for use:
      1. Close Outlook 2007.
      2. In the My Documents\Visual Studio 2005\Projects\SolutionName folder, open the SolutionName solution.
      3. Select AddinNameSetup in Solution Explorer.
      4. Select Rebuild AddinNameSetup on the Build menu.
      5. [Optional] After the build process has completed, select Install on the Project menu to install the solution.
      6. Start Outlook to start the add-in in Run mode or press F5 to start the add-in in Debug mode.
      Note: If you install the sample add-ins on Windows Vista, you must run Visual Studio 2005 as Administrator to build the PrepareMeCS or PrepareMeVB solutions.
      To run Visual Studio 2005 as Administrator, follow these steps:
      1. Click the Start menu, and locate Microsoft Visual Studio 2005.
      2. Right-click Microsoft Visual Studio 2005.
      3. Select the Run As Administrator command.

      To remove this download:
      1. On the Start menu, point to Settings and then click Control Panel.
      2. Double-click Add/Remove Programs.
      3. In the list of currently installed programs, select any sample add-in that you built and installed in step 5 above.
      4. Click Remove or Add/Remove, and then click Yes or OK to confirm that you want to remove the program. If you did not install the individual sample add-ins, proceed to the next step.
      5. In the list of currently installed programs, select Microsoft Office Outlook 2007 Sample Add-ins and then click Remove or Add/Remove. If a dialog box appears, follow the instructions to remove the program.
      6. Click Yes or OK to confirm that you want to remove the program.
      To remove the download file itself:
      • Delete the file Outlook2007SampleAddin.msi from your hard disk.
    • Note: This package does not collect any personal information.