UserControl - Again

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I start a new project (Windows UserControl Library) and Name it
"TestControl". I then open the vb code module and change the class name from
UserControl1 to "TestControl" and the inheirits to a panel. I then build the
solution.

I start a new project (Windows Application) and go to the ToolBox
UserControl tab, I right click on User Control tab then select Browse and
select the TestControl.dll. In the ToolBox UserControl Tab, the name
"UserControl1" appears. How do I get it to reflect the name I've given the
control class "TestControl"?
 
I found the problem. I had to right click on User Controls in the toolbox
and select Reset to remove all usercontrols from the toolbox and start over.
It works OK now.
 
Back
Top