Installing the Sample Address Book Provider

Installing the Sample Address Book Provider

This topic describes the steps to download and install the Sample Address Book Provider. The Sample Address Book Provider implements a basic address book provider that can be used as a starting point for further customization. The Sample Address Book Provider implements the required features of an address book provider, as well as more advanced features such as name resolution. For more information about the required features of an address book provider, see Required Features for Address Book Providers. The Sample Address Book Provider supports one address book container. For more information about address book providers, see About the Sample Address Book Provider.

Install the Sample Address Book Provider

  1. To download the Sample Address Book Provider, see Outlook 2007 Auxiliary Reference Code Samples and Redistributable Installer.

  2. Open the SampleAddressBookProvider folder and click Extract All Files.

  3. Click Browse, select the location where you want to save the sample, and click OK.

  4. Click Extract. The folder you selected appears and contains the extracted files.

  5. Run Visual Studio 2005 as an administrator.

    Bb821133.vs_note(en-us,office.12).gif  Note
    If your computer is running Windows XP, you must be logged in as an Administrator. If your computer is running Windows Vista, you must be logged in as an Administrator and you must right-click the Visual Studio 2005 icon and click Run as administrator.
  6. In Visual Studio 2005, click File, select Open, and then click Project/Solution.

  7. Browse to the location where you saved the sample, click SABP, and then click Open.

  8. On the Build menu, click Build Solution.

  9. In the Save File As dialog box, click Save.

  10. In the folder where you saved the sample, right-click the install.bat file and click Run as administrator.

  11. In the User Account Control dialog box, click Continue.

    Note

    install.bat copies the .dll to the default Microsoft Office installation folder, C:\Program Files\Microsoft Office\Office12\. If you have installed Office products in a different location, right-click install.bat and click Edit. The file opens in Notepad. Replace the default installation path with the installation path used on your computer.

See Also

About the Sample Address Book Provider

Initializing an Address Book Provider

Accessing an Address Book Provider

Using an Address Book Container

Shutting Down an Address Book Provider