Adding Custom Controls dll to Visual Studio ToolBo

2019-01-18 10:36发布

问题:

I have a custom control DLL. How can I add these custom controls to VS2008 tool box programatically?

回答1:

  1. Right-click on toolbox
  2. select "Choose Items"
  3. browse to your DLL.
  4. Add the items


回答2:

There are several ways to do it:

As explained at MSDN Tutorial: Installing Controls By Using the Toolbox Controls Installer you do it from an installer.

There's also another possibility using a command line program available on CodePlex. You use this application with your favorite installer or you can invoke it manually.