Setting Up the Managed Exchange TreeView Control Sample Application

Topic Last Modified: 2006-06-11

The Managed Exchange TreeView Control sample application is installed by default to the \Program Files\Exchange SDK\SDK\Samples\ManagedTreeViewControl\ directory. Before using the sample application, first add a reference to the managed Exchange TreeView control to the Microsoft® Visual Studio® .NET project and then build the ExchangeTreeViewControlSample.exe file.

Note

To use the managed Exchange TreeView control with this sample application, you must have the Exchange SDK Development Tools installed. The managed Exchange TreeView control must be used on a computer that has the Microsoft .NET Framework installed.

To add a reference to the managed Exchange TreeView control

  1. Navigate to the \Program Files\Exchange SDK\SDK\Samples\ManagedTreeViewControl\ directory and double-click the ExchangeTreeViewControlSample.sln file icon.
     
    This will open the ExchangeTreeViewControlSample Microsoft Visual Basic® .NET solution.
  2. In the Solution Explorer pane, right-click References and click Add Reference.
  3. With the .NET tab highlighted, click Browse.
  4. Navigate to the \Program Files\Exchange SDK\Tools\ExchangeTreeViewControl\ directory, select the ExchangeTreeViewControl.dll file icon, and click Open.
  5. Click OK to close the Add Reference window.

To build ExchangeTreeViewControlSample.exe

  1. In the Build menu of the Visual Studio .NET Integrated Development Environment (IDE), click Build Solution.

Navigate to the \Program Files\Exchange SDK\SDK\Samples\ManagedTreeViewControl\bin\ directory and double-click the ExchangeTreeViewControlSample.exe icon to run it.