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?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
  1. Carlos

    Error using system.drawing

    Carlos, Feb 4, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    554
    Kevin Spencer
    Feb 4, 2004
  2. Richard
    Replies:
    3
    Views:
    4,702
    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:
    600
    John via .NET 247
    Aug 5, 2004
  4. Replies:
    1
    Views:
    960
    Kevin Spencer
    Jan 9, 2006
  5. byrd48
    Replies:
    0
    Views:
    3,938
    byrd48
    Jul 6, 2006
  6. defn noob
    Replies:
    1
    Views:
    684
    Mark Space
    Jun 28, 2008
  7. Igor

    Problem with ToolboxBitmap

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

    Toolboxbitmap Attribute for custom control

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