473,386 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

What makes the icon appear in the toolbox for a new control?


I created a control and added to my toolbox and it worked fine including the controls icon until I decided to merge the
project that contains the control into an existing project. I have included the Toolbox statements in the code, it is an
embedded resource and the bmp location is set right. I have recompiled the control but even though the control appears
in the toolbox the icon stubbornly refuses to appear. I just get the default cog.

Does anyone have any ideas what exactly it is that causes the icon to appear? It is very frustrating.

Thanks, steve
Nov 17 '05 #1
1 1296
Take a look at the article in Windows Forma Tips and Tricks

--
Bob Powell [MVP]
Visual C#, System.Drawing

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.

"steve bull" <bu****@comcast.net> wrote in message
news:ki********************************@4ax.com...

I created a control and added to my toolbox and it worked fine including
the controls icon until I decided to merge the
project that contains the control into an existing project. I have
included the Toolbox statements in the code, it is an
embedded resource and the bmp location is set right. I have recompiled the
control but even though the control appears
in the toolbox the icon stubbornly refuses to appear. I just get the
default cog.

Does anyone have any ideas what exactly it is that causes the icon to
appear? It is very frustrating.

Thanks, steve

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Brahm | last post by:
Hello, I have an application with a main class subclassing the System.Windows.Form and i changed the Icon setting for the application to point to a different icon file. Now, when my application...
5
by: Sender | last post by:
In my VB.Net in the Toolbox I have noticed two things: (1) All the controls like Button, TextBox, MainMenu, Checkbox etc. have the same icon in the Toolbox. (That icon is dimmed and is of...
1
by: Maileen | last post by:
Hi, I've created a custom control and it is display on MyControl tab in Toolbox. but i would like to know how : 1. can i set a particular icon to my customer control to see it displayed in...
1
by: Maileen | last post by:
Hi, I've created my customer control from a ListView. Now, i would like to allocate it a bitmap in order to see it in my ToolBox bar. For this i use : ...
6
by: rodchar | last post by:
hey all, i'm trying to add an image to my custom control so that it looks unique in my toolbox. i saw in a webcast that all you had to do was add the image to the project and change the Build...
1
by: mtczx232 | last post by:
I going to drive my own Inherit control for All Win control, But I see that inherit control not get by default the original control Icon. How i can get the original Icon for each Inherit control?
1
by: Jon Okie | last post by:
I have a class inherited from component with a specialized designer. I would like to know how I can customize the icon that appears next to my class name in the solution explorer. Right now, the...
2
by: cashdeskmac | last post by:
Hi, I have create an inherited control (a TextBox which doesn't accept numbers) and have added it to my toolbox. Can anyone give pointers on how to set the Text to "" when an instance of this...
11
by: Anil Gupte | last post by:
....and how do I insert one into my form? I used in VB 6.0 last, but cannot figure out where it is in .Net Thanx, -- Anil Gupte www.keeninc.net www.icinema.com
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.