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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Unable to set program icon

Unable to set program icon

Scheduled Pinned Locked Moved C#
csharphelpquestion
5 Posts 3 Posters 0 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.
  • Y Offline
    Y Offline
    yeah1000
    wrote on last edited by
    #1

    Hi, i have a problem with program icons. When i select a new icon for the program from application properties, build solution, copy the exe (with correct icon) to desktop, then the icon changes. I have other self-made programs on desktop as well, and the icon of the new program will become the same as the others when i copy it to my desktop. Why? Using Visual C# 2008 Express Edition, Vista When i right click the exe, then in the properties it shows the correct icon. Ty

    C P 2 Replies Last reply
    0
    • Y yeah1000

      Hi, i have a problem with program icons. When i select a new icon for the program from application properties, build solution, copy the exe (with correct icon) to desktop, then the icon changes. I have other self-made programs on desktop as well, and the icon of the new program will become the same as the others when i copy it to my desktop. Why? Using Visual C# 2008 Express Edition, Vista When i right click the exe, then in the properties it shows the correct icon. Ty

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      The icon you set needs to contain icons in all the different possible sizes, or it will only be used for the sizes you provide.

      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

      Y 1 Reply Last reply
      0
      • C Christian Graus

        The icon you set needs to contain icons in all the different possible sizes, or it will only be used for the sizes you provide.

        Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

        Y Offline
        Y Offline
        yeah1000
        wrote on last edited by
        #3

        It contains all of the sizes. It works correctly on other computers where there are none of my other programs with custom icons. As a matter of fact, it works correctly in all folders where there are no other programs of mine with custom icons.

        modified on Friday, September 18, 2009 6:36 AM

        1 Reply Last reply
        0
        • Y yeah1000

          Hi, i have a problem with program icons. When i select a new icon for the program from application properties, build solution, copy the exe (with correct icon) to desktop, then the icon changes. I have other self-made programs on desktop as well, and the icon of the new program will become the same as the others when i copy it to my desktop. Why? Using Visual C# 2008 Express Edition, Vista When i right click the exe, then in the properties it shows the correct icon. Ty

          P Offline
          P Offline
          PIEBALDconsult
          wrote on last edited by
          #4

          Are you setting it on the Application tab of the Properties page of the project?

          Y 1 Reply Last reply
          0
          • P PIEBALDconsult

            Are you setting it on the Application tab of the Properties page of the project?

            Y Offline
            Y Offline
            yeah1000
            wrote on last edited by
            #5

            Yes

            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