Using the System.Drawing.ToolboxBitmap Attribute

Discussion in 'ASP .Net Building Controls' started by Nathan Sokalski, Jan 9, 2009.

  1. 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.
    --
    Nathan Sokalski

    http://www.nathansokalski.com/
     
    Nathan Sokalski, Jan 9, 2009
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Carlos

    Error using system.drawing

    Carlos, Feb 4, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    517
    Kevin Spencer
    Feb 4, 2004
  2. Richard
    Replies:
    3
    Views:
    4,642
    velocity4anil
    Sep 19, 2007
  3. John via .NET 247

    Problem with using System.Drawing.Bitmap

    John via .NET 247, Aug 5, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    579
    John via .NET 247
    Aug 5, 2004
  4. Replies:
    1
    Views:
    909
    Kevin Spencer
    Jan 9, 2006
  5. byrd48
    Replies:
    0
    Views:
    3,855
    byrd48
    Jul 6, 2006
  6. defn noob
    Replies:
    1
    Views:
    641
    Mark Space
    Jun 28, 2008
  7. Igor

    Problem with ToolboxBitmap

    Igor, Jul 21, 2003, in forum: ASP .Net Building Controls
    Replies:
    1
    Views:
    523
    Gabriel
    Aug 15, 2003
  8. studen771

    Toolboxbitmap Attribute for custom control

    studen771, Apr 29, 2006, in forum: ASP .Net Building Controls
    Replies:
    1
    Views:
    459
    studen771
    Apr 29, 2006
Loading...