5

I am dropping the dll directly to .net toolbox to add controls( same as right click on .net toolbox and select choose items) but the problem with this is its only for current project. want to add it in .net toolbox permanently. can anybody tell me some simple way to doing it?

I found this tutorial from MSDN: http://msdn.microsoft.com/en-us/library/bb286995%28VS.80%29.aspx

This seems very complex, I need a simpler method.

Josh Crozier
  • 233,099
  • 56
  • 391
  • 304
Omer
  • 51
  • 2

1 Answers1

3

Make sure your control class is public and that you've built the Release version. File + Close Solution to be sure. Right-click the toolbox, Choose Items. Click the Browse button and navigate to bin\Release folder of the control project. Select the DLL.

Hans Passant
  • 922,412
  • 146
  • 1,693
  • 2,536
  • hello @Hans Passant i am trying to add MyDAL.dll from Release folder to another Applications ToolBox but is shows error! I am new to this Topic of adding DLL plz suggest me..!Can we do this for adding code snippet to ToolBox for reusable code? Help Appreciated! – SHEKHAR SHETE Jan 09 '13 at 12:28
  • This works, but it will not be permanent! when you open new project that control is not listed in toolbox. – S.Serpooshan Nov 13 '17 at 05:59