By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,682 Members | 1,407 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,682 IT Pros & Developers. It's quick & easy.

Icon for User Control

P: n/a
Hi
I have created my user control and I would like add it in control toolbox
with my icon but I do not know how?
Please Help!
Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"George Labljuk" <la***@livas.lv> scripsit:
I have created my user control and I would like add it in control toolbox
with my icon but I do not know how?


See:

<http://groups.google.de/groups?selm=%23YMos%23vQDHA.2476%40TK2MSFTNGP10.ph x.gbl>

--
Herfried K. Wagner
MVP VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #2

P: n/a
Create a 16 x 16 pixd give it the name of the class ("Class BlaBla" ->
"BlaBla.bmp").

Then you can add the bitmap to the project and set its build action to
embedded resource.

Extend your code like this: \\\

<ToolboxBitmap(GetType(BlaBla))>

Public Class BlaBla . . .

???

End Class

But I do not know how create BlaBla?

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:bl************@ID-208219.news.uni-berlin.de...
"George Labljuk" <la***@livas.lv> scripsit:
I have created my user control and I would like add it in control toolbox with my icon but I do not know how?
See:

<http://groups.google.de/groups?selm=...2MSFTNGP10.phx
..gbl>
--
Herfried K. Wagner
MVP VB Classic, VB.NET
<http://www.mvps.org/dotnet>

Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.