Using the System.Drawing.ToolboxBitmap Attribute

  • Thread starter Nathan Sokalski
  • Start date
N

Nathan Sokalski

I have been trying for months to get the System.Drawing.ToolboxBitmap
attribute to work. I have been able to get it to work when simply entering
the location of the *.ico or *.bmp on your local machine, but I want to
store my *.ico files as Embedded Resources so that they can be part of the
assembly. I have looked at dozens of sites for help, and most of them told
me the same thing or directed me to
http://www.bobpowell.net/toolboxbitmap.htm
.. I feel that I have tried everything, yet still with no success. With the
number of postings I have found on different forums about other people
having trouble using this attribute as well, I am wondering why Visual
Studio 2008 doesn't have a tool to help you add this attribute (I'm willing
to bet that it's one of the more commonly used ones; all third-party
controls that I've ever seen have custom icons). Does anybody have any
ideas, or know of a Visual Studio 2008 add-on that can help do this? Thanks.
 

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

Members online

No members online now.

Forum statistics

Threads
474,056
Messages
2,570,443
Members
47,089
Latest member
Bobby2025b

Latest Threads

Top