I make a simple user control which will i add in my different project. But the question is.
1. Can I add any image or Icon to show in toolbox as my control's Image/icon?
2. Is there any path or process, for that my control will automatic load when studio load?
3. If i give my usercontrol to my friends what is the easiest way to "automatic" attach my control to their studio. (like few 3rd party tools are automatically include in studio & their tools has also image/icon).
Please help me.
Thank you in advance!!
Loading

Tanmay SarkarPosted Aug 1, 2010, 1:58 PM
Thank you in advance!
please ....
Sam HobbsPosted Aug 1, 2010, 1:26 PM
Tanmay SarkarPosted Aug 1, 2010, 11:47 AM
Thanks for your reply but I am still now in water....
Can you write few line to understand it in a simple manner.
Thank you in advance. :)
Amit ChoudharyPosted Aug 1, 2010, 10:25 AM
check out below blogs for installing managed coded user control to visual studio toolbox:
1. http://blogs.msdn.com/b/chetanc/archive/2005/10/05/477128.aspx
2. http://msdn.microsoft.com/en-us/library/bb286995(VS.80).aspx
Please mark 'Do you like this post?' if it helps you
Tanmay SarkarPosted Aug 1, 2010, 12:17 AM
the code section is...
[ToolboxBitmap(@"C:\ms.bmp")]
public partial class UserControl1 : UserControl
{
public UserControl1()
{
InitializeComponent();
}
..................
..................
}
Now we should build it.
And now open New project
In toolbox, Rt click & browse that dll the picture & component will come in toolbox.
wowww it has my own pic in control
but my second Q still unanswered to me that is
"Is there any path or process, for that my control will automatic load when studio load?"
Tanmay SarkarPosted Jul 16, 2010, 1:04 PM
May be there is my mistake.
Please help me! still my problem is not solve.... :(
Amit ChoudharyPosted Jul 12, 2010, 2:07 AM
try use resource files.... for icon and for the automatic deployment you have to use depolyement wizard to create a setup.. try finding some article on this.. and get your task done.
Please mark "Do you like this post" if it helps you.