Add Win32 Components to the Toolbox

This topic explains how to manually add Image Components for Win32 controls. to the Toolbox of your Visual Studio. This procedure is necessary in case the controls fail to appear in the Toolbox after the toolbox manager application.

Introduction

In order to be able to work with the Image Components for Win32 controls, you need to have them on the Visual Studio Toolbox. Adding these components manually will make them available for use on a dedicated tab in the Toolbox.

Steps

Download

  - Click the icon to watch the video.

  1. Make sure the Visual Studio Toolbox is visible. (View menu > Toolbox)
  2. Open a Windows Forms Application or create a new one (File > New > Project > Windows Forms Application)
  3. Add a new tab.

 

From the Visual Studio menu, right-click the Toolbox and, from the context menu, select Add Tab. (Figure 1). This adds a new blank tab at the top of the Toolbox window with the tab label in editing mode.

Figure 1: Adding a Tab to the Toolbox

  1. Name the tab.

In the tab label type a name for the tab (e.g. Win32 Image Components) and then press Enter to commit the name and exit editing mode.

  1. Select the components to add.
    1. Right-click the new tab, and, from the context menu, select Choose Items. (Figure 2)

Figure 2: Accessing the items to select

  1. The Choose Toolbox Items dialog opens. (Figure 3)

Figure 3: Selecting a component in the Choose Toolbox Items dialog

  1. In the dialog, select the .NET Framework Components tab.
  2. Review the list of components, and mark the check boxes for the components you want to make available in the Toolbox. (Figure 3) (You may want to sort the list by Namespace to find the desired components more easily).
    Note: If a component is not available in the list, you can browse for it in the installation path of Image Components for Win32.
    [Drive]:\[Program Files]\Image Components\Examples\Assemblies\Win32\Version4\
    1. Add the components and finalize the procedure. Click OK. 

 The dialog closes and the new tab is now configured with all the selected components. (Figure 4)

From now on, it will be available whenever you open a Windows Forms project.

Toolbox Assemblies:

ImageComponents.Win32.ImgAnnotations.dll

ImageComponents.Win32.ImgBarDecoder.dll

ImageComponents.Win32.ImgBarCoder.dll

ImageComponents.Win32.ImgEdit.dll

ImageComponents.Win32.ImgScan.dll

ImageComponents.Win32.ImgThumbnails.dll

Figure 4: The Toolbox with several Image Components for Win32 added