User Control Question

  • Thread starter Thread starter Glyn Meek
  • Start date Start date
G

Glyn Meek

My partner and I do development some 20 miles apart (I know...irrelevant
information...as if anyone cares!), and we regularly exchange source code
modules etc. during development projects. We are able to take 'forms', and
easily move them backwards and forwards between our projects using the
'Project'->'Add Existing Item' function at the destination end, and these
forms then appear and work EXACTLY the same on the receiving machine as they
do on the sending one...all fairly standard stuff...BUT...we have a problem
with User Controls.

I have developed a number of 'User Controls', all of which work perfectly
well in the project under which they were developed, and they appear in the
'User Control' section of the Toolbox as soon as a'Build' operation is
performed.

When we take the .vb and the .resx files and copy them onto my partner's PC
and add them to his project using 'Project'->'Add Existing Item' everything
appears fine. He can get to the code, can see the control, but when he runs
'Build', the controls do NOT show up in the Toolbox under 'User Controls'.

What are we missing?
Is there something different at this level between a form and a user
control?
Do we HAVE to turn them into a .dll before they become transaportable?

Regards and thanks for anyone's help
 
I believe you have to open the UserControl once in the designer. Otherwise
you are better off making a dll.

Regards,
Frank Hileman

check out VG.net: www.vgdotnet.com
Animated vector graphics system
Integrated Visual Studio .NET graphics editor
 
Frank...may I ask what you mean by "open the UserControl" once in the
designer?

Regards

Glyn
 
Back
Top