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. Visual Studio
  4. Creating icons in VS .NET

Creating icons in VS .NET

Scheduled Pinned Locked Moved Visual Studio
questioncsharpvisual-studiohelplearning
3 Posts 2 Posters 2 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.
  • J Offline
    J Offline
    Jambolo
    wrote on last edited by
    #1

    I have a 256-color 96x96 BMP and I want to use it for an icon. The problem is that when I paste the image into the 96x96x256 icon in the VS.NET resource editor, the palette entries are shifted (apparently). How do I do this? Also, how do I create the nice 24-bit icons for XP?

    M J 2 Replies Last reply
    0
    • J Jambolo

      I have a 256-color 96x96 BMP and I want to use it for an icon. The problem is that when I paste the image into the 96x96x256 icon in the VS.NET resource editor, the palette entries are shifted (apparently). How do I do this? Also, how do I create the nice 24-bit icons for XP?

      M Offline
      M Offline
      Michael Dunn
      wrote on last edited by
      #2

      This is what I do in VC 6, I don't see why it wouldn't work in 7. I first insert a placeholder bitmap resource, using the same dimensions and color depth. Save the resources and VC will create a BMP file. You can then overwrite that file with your own BMP file. The next time you open the resource, VC will pick up your new BMP with the correct palette. --Mike-- Mister Sparkle is disrespectful to dirt. Homepage | RightClick-Encrypt | 1ClickPicGrabber "You have Erica on the brain" - Jon Sagara to me

      1 Reply Last reply
      0
      • J Jambolo

        I have a 256-color 96x96 BMP and I want to use it for an icon. The problem is that when I paste the image into the 96x96x256 icon in the VS.NET resource editor, the palette entries are shifted (apparently). How do I do this? Also, how do I create the nice 24-bit icons for XP?

        J Offline
        J Offline
        Jambolo
        wrote on last edited by
        #3

        I found a sample app in the MS Platform SDK called IconPro. It works perfectly and it even allows you to make 32-bit icons.

        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