Hide

SftDirectory 3.5 - ActiveX File/Folder Control

Display
Print

Adding Controls To The Visual Studio Toolbox

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

Adding SftDirectory
Adding The SftHelperComponent Component

Adding SftDirectory To Visual Studio .NET 2002 and Visual Studio Express Editions

For Visual Studio 2003 and above, 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 SftDirectory 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.

New Toolbox Group

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.

Naming Group

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 Items...

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

COM Components

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

Toolbox

Adding The SftHelperComponent Component

For Visual Studio 2003and above 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 SftDirectory 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 SftDirectory 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 Items...

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

Locating The SftHelperComponent

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.

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.

Choose Toolbox Items

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

Toolbox


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