Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. ToolBox Icon - VS2008

ToolBox Icon - VS2008

Scheduled Pinned Locked Moved C#
graphicscsharpvisual-studiocomtools
2 Posts 1 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    DaveyM69
    wrote on last edited by
    #1

    I'm using Visual Studio 2008 Professional and can't get any other icon to display apart from the default 'gear'. I'm not trying to use my own bitmap - just one from the built in controls. I'm adding this attribute: [System.Drawing.ToolboxBitmap(typeof(System.Windows.Forms.TextBox))] I've tried with with a user control, component and a simple class that inherits from TextBox but none of them work. I'm sure I had this working in 2005 - is it a 2008 issue?

    Dave
    BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)

    D 1 Reply Last reply
    0
    • D DaveyM69

      I'm using Visual Studio 2008 Professional and can't get any other icon to display apart from the default 'gear'. I'm not trying to use my own bitmap - just one from the built in controls. I'm adding this attribute: [System.Drawing.ToolboxBitmap(typeof(System.Windows.Forms.TextBox))] I've tried with with a user control, component and a simple class that inherits from TextBox but none of them work. I'm sure I had this working in 2005 - is it a 2008 issue?

      Dave
      BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)

      D Offline
      D Offline
      DaveyM69
      wrote on last edited by
      #2

      Wierd. If I complie the control to a dll and then add it to the toolbox via Choose Items it shows the icon.

      Dave
      BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups