[RESOLVED] Add Usercontrol To Toolbox
hi, I just downloaded VB.NET Express 2010 and I am trying to make a user control
I start out by makeing a new project then to add a usercontrol I goto Project->Add New Item Then I Add a usercontrol.
But I cannot see my usercontrol on the toolbar like you used to in VB6, I even tryed draging the control to the toolbox but it still it will not shows. Can someone help me cos I am sort of new to this .NET stuff.
Thanks
Re: Add Usercontrol To Toolbox
You first need to Build your solution successfully. Go to the Build menu and select Build Solution. Keep a close watch on the lower-left corner, it will say either Build failed or Build succeeded. If the build failed, you would have one or more errors in the error list, so fix them first. Once you fixed all errors, try building again, until it says build succeeded (or just when there are no more errors after building).
Only then does your new UserControl appear in the toolbox.
The same goes for when you make a change in your UserControl. That change will only be seen after you build the solution.
(Note, instead of building you can also just run the solution, because it will build it automatically if you do)
Re: Add Usercontrol To Toolbox
It works thanks NickThissen, Now i can finish my control thanks agian