My User Controls

  • Thread starter Thread starter Michael Turner
  • Start date Start date
M

Michael Turner

Hi

I have just added an existing project containing user controls into another
solutions now they dont appear in 'my user controls' any idea why this is? I
have tried building the solution.

Thanks,
Mike.
 
Hi Dennis

Do you mean 'Add/Remove Controls' I know I can add them this way however
shouldn't they appear automaticly when you have a usercontrol as part of
your solution? I don't particly like having controls added the above way as
if a control is in my solution it is normally because I am working on it and
I can find that if you add them manually and then change the control
sometimes the changes made do not come through all the time where as if they
are in my user controls because VB has picked it up then it is fine.

Any more thoughts any one?

Mike.
 
I believe that when you are through developing your control, you should add
it to a project by setting a reference to yourcontrol.dll. This should
automatically add it to the usercontrols on the tool box. However, when you
add yourcontrol project directly to another project, you have to manually add
it to the toolbox.
 
Michael Turner said:
I have just added an existing project containing user controls into another
solutions now they dont appear in 'my user controls' any idea why this is? I
have tried building the solution.

Have you told your project needing controls to reference the other project that
has them? They are two separate projects until you make the connection.

LFS
 

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

Back
Top