UserControl - Again

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"?
 
G

Guest

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top