Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

Adding Controls To The Visual Studio Toolbox

The controls are automatically added to the Visual Studio Toolbox during installation of SftTree/OCX and are located in the toolbox group "Softel vdm, Inc.", except for Visual Studio .NET 2002 and some Visual Studio Express Editions. For these, the controls have to be added "manually" using the following simple procedure.

Adding SftTree/OCX
Adding The SftHelperComponent Component

Adding SftTree/OCX To Visual Studio .NET 2002 and Visual Studio Express Editions

For Visual Studio 2003, 2005, 2008, 2010, 2012, 2013, 2015, 2017, 2019 the controls are automatically added to the Visual Studio Toolbox in the toolbox group named "Softel vdm, Inc." and this section can be skipped. Otherwise, the SftTree/OCX control must be added to the toolbox before it can be used in a project.

Open a form in your project in design view. Right-click anywhere on the Toolbox and select "Add Tab" from the popup menu.

Adding SftTree/OCX

This creates a new tab for the control to be added.

To complete the new tab, enter a suitable tab label. In this example, we enter "Softel vdm, Inc." and press Return.

Add Tab - Label

Once the tab has been added, we are ready to add controls to it.

Right-click on the area below the tab heading and select "Choose Items..." (or Add/Remove Items... in older Visual Studio versions) from the popup menu.

Choose Toolbox Items

This will present the Choose Toolbox Items dialog, which is used to locate the ActiveX control you want to add.

Select SftTree/OCX

Finally, click OK and the control now appears in your Toolbox.

SftTree/OCX Added To Toolbox

Adding The SftHelperComponent Component

For Visual Studio 2003, 2005, 2008, 2010, 2012, 2013, 2015, 2017, 2019 the controls are automatically added to the Visual Studio Toolbox in the toolbox group named "Softel vdm, Inc." and this section can be skipped. Otherwise, the SftTree/OCX control must be added to the toolbox before it can be used in a project.

Open a form in your project in design view.

In the toolbox, locate the group "Softel vdm, Inc.", created when the SftTree/OCX control was added to the toolbox (see above).

Right-click on the area below the tab heading and select "Choose Items..." (or Add/Remove Items... in older Visual Studio versions) from the popup menu.

Choose Toolbox Items

This will present the Choose Toolbox Items dialog, which is used to locate the .NET component you want to add.

Browse .NET Framework Components

The SftHelperComponent is located at C:\Program Files\Common Files\Softelvdm\Softelvdm.Controls or C:\Program Files (x86)\Common Files\Softelvdm\Softelvdm.Controls on 64-bit Windows versions.

Add the assembly Softelvdm.OCXHelperV2.dll. If you are using .NET 1.x, add Softelvdm.OCXHelper.dll instead.

Browse Softelvdm.OCXHelperV2.dll

Locate the assembly and click Open to accept.

This will return you to the Choose Toolbox Items dialog which now shows the newly added assembly.

Select Softelvdm.OCXHelperV2.dll

Finally, click OK and the control now appears in your Toolbox.

SftHelperComponent Added To Toolbox


Last Updated 08/13/2020 - (email)
© 2022 Softel vdm, Inc.