How to export a user control?

  • Thread starter Thread starter Paul Fredlein
  • Start date Start date
P

Paul Fredlein

Hi,

I have a user control in one project that I would like to use in another.
I've tried; 'copy' but can't 'paste'; 'save as .vb' but then when I open it
in the other project the code's there but the 'design' for it isn't.

Any help appreciated, thanks.

Paul
 
Paul,

* "Paul Fredlein said:
I have a user control in one project that I would like to use in another.
I've tried; 'copy' but can't 'paste'; 'save as .vb' but then when I open it
in the other project the code's there but the 'design' for it isn't.

Don't forget to copy the according ".resx" file too!
 
Hi,

But I can't save or copy the "Design" of the control so when I add the two
files to another project there's nothing in "My User Controls" and so can't
add it to my Form design.

I tried right clicking on the control in "My User Controls" but there's no
export or copy... nothing.

Thanks,

Paul
 
Sorry, DLLs suck big time.

To have the ability to export a User Control should be simple thing to do,
if I can't right click on the control then select Export from a pop-up menu
then Microsoft still needs to do a lot of work on VB. This to me, is
fundamental to an IDE.

I'll just have to copy, paste and mess around, thanks M$.

Paul
 
totaly fantasticly disagree

we are using a lot of dll's here to split up our project
there is absolutely nothing sucking about dll's

what do you find so sucking about the dll's? i'm curious to know

the point of doing that is to have an easy reuseable component
copying the user control is in fact not reusing it but creating a new one
and then you have 2 usercontrols to maintain, with the dll you have only one
 
Back
Top