copy User Control between projects

  • Thread starter Thread starter Eric
  • Start date Start date
E

Eric

Using VB.NET (2003)

I've got this VB project where I've defined 1 form, and 1 user control. If I
go to the form, I can see in my toolbox that I can drag-and-drop the user
control onto the form.

Now, I make another .NET project with a form, copy and paste the user
control files (in explorer) from the old project, it compiles just fine, but
now it is not insertable onto the main form from the toolbox. It doesn't
even show up in the toolbox. Anybody know why not?

Thanks! If you email reply, remove the "boots" from the email
 
* "Eric said:
I've got this VB project where I've defined 1 form, and 1 user control. If I
go to the form, I can see in my toolbox that I can drag-and-drop the user
control onto the form.

Now, I make another .NET project with a form, copy and paste the user
control files (in explorer) from the old project, it compiles just fine, but
now it is not insertable onto the main form from the toolbox. It doesn't
even show up in the toolbox. Anybody know why not?

Why not add the usercontrol to a control library and reference this
library from both projects?
 
Back
Top