Setting Up the Managed Exchange TreeView Control
Topic Last Modified: 2009-07-24
The Managed Exchange TreeView Control (ExchangeTreeViewControl.dll) is installed by default in the \Program Files\Exchange SDK\Libraries\ManagedTreeViewControl directory. Before you can implement the Managed Exchange TreeView Control in a Windows Forms application, you must first add a reference to it in a Microsoft Visual Studio .NET project and then add it to the toolbox in the project.
Note: |
|---|
| To use the Managed Exchange TreeView Control class, you must have the Exchange Server 2007 SDK installed. |
-
Open a new or existing Microsoft Visual C# or Microsoft Visual Basic .NET Windows Forms application in Visual Studio .NET.
-
In the Solution Explorer pane, right-click References and click Add Reference.
-
With the .NET tab highlighted, click Browse.
-
Navigate to the \Program Files\Exchange SDK\Libraries\ManagedTreeViewControl\ directory, select the ExchangeTreeViewControl.dll icon, and click Open.
-
Click OK to close the Add Reference window.
-
In the Tools menu of the Visual Studio .NET Integrated Development Environment (IDE), click Customize Toolbox.
-
In the Customize Toolbox window, click the .NET Framework Components tab and click Browse.
-
Navigate to the \Program Files\Exchange SDK\Libraries\ExchangeTreeViewControl\ directory, select the ExchangeTreeViewControl.dll file icon, and click Open.
ExchangeTreeViewControl will now be included in the list of .NET Framework components and checked off.
-
Click OK to close the Customize Toolbox window.
-
ExchangeTreeViewControl will now be listed at the bottom of the Windows Forms list of the Toolbox.
-
In design mode, drag the ExchangeTreeViewControl from the Toolbox and drop it onto the Windows form.
Note: