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. Icon problems

Icon problems

Scheduled Pinned Locked Moved C#
helpquestion
7 Posts 6 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.
  • N Offline
    N Offline
    nik121
    wrote on last edited by
    #1

    For a very long time now I've been having a problem with making an icon appear on the top-left part of my form. I have created a .ico file and it works for my .exe icon but whenever I try it on my icon property of my form it doesn't work. Anyone have any ideas why I'm having this problem?

    C L C D 4 Replies Last reply
    0
    • N nik121

      For a very long time now I've been having a problem with making an icon appear on the top-left part of my form. I have created a .ico file and it works for my .exe icon but whenever I try it on my icon property of my form it doesn't work. Anyone have any ideas why I'm having this problem?

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

      An icon file can contain icons in a number of different sizes. You probably are not including one in the size needed for the corner of the form ( I am guessing 16x16 or 32x32 )

      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.

      1 Reply Last reply
      0
      • N nik121

        For a very long time now I've been having a problem with making an icon appear on the top-left part of my form. I have created a .ico file and it works for my .exe icon but whenever I try it on my icon property of my form it doesn't work. Anyone have any ideas why I'm having this problem?

        L Offline
        L Offline
        Luc Pattyn
        wrote on last edited by
        #3

        As Christian said, ICO files can contain several icons at different sizes (but meant to represent the same thing). Which "sub-icon" gets used depends on the situation AND the Windows version. And Vista introduced new sizes. This[^] and this[^] gives some details. I never encountered a situation where an icon wasn't showing; I usually design it at 32*32 and that seems to work for me every time (that is on XP and Vista). However the favicon.ico shown in a browser's address bar has to be 16*16. On XP hovering an ICO file shows a tooltip, which mentions the size iff there is only one. Don't know for Vista. :)

        Luc Pattyn [Forum Guidelines] [My Articles]


        The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.


        1 Reply Last reply
        0
        • N nik121

          For a very long time now I've been having a problem with making an icon appear on the top-left part of my form. I have created a .ico file and it works for my .exe icon but whenever I try it on my icon property of my form it doesn't work. Anyone have any ideas why I'm having this problem?

          C Offline
          C Offline
          Cracked Down
          wrote on last edited by
          #4

          Are you using Visual studio to create icon? If yes I would suggest use some other software to create the icon. I struggled with the same kind of problem,but got rid of it using some freeware icon generator tool(I do not remember the name of that software). you will get it on the net for free :)

          M 1 Reply Last reply
          0
          • N nik121

            For a very long time now I've been having a problem with making an icon appear on the top-left part of my form. I have created a .ico file and it works for my .exe icon but whenever I try it on my icon property of my form it doesn't work. Anyone have any ideas why I'm having this problem?

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

            I use IcoFX if that's any help

            Dave
            BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
            Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
            Why are you using VB6? Do you hate yourself? (Christian Graus)

            N 1 Reply Last reply
            0
            • C Cracked Down

              Are you using Visual studio to create icon? If yes I would suggest use some other software to create the icon. I struggled with the same kind of problem,but got rid of it using some freeware icon generator tool(I do not remember the name of that software). you will get it on the net for free :)

              M Offline
              M Offline
              Mirko1980
              wrote on last edited by
              #6

              Personally, I use IcoFX. It's freeware and has many useful features (such as extracting icons from existing files).

              1 Reply Last reply
              0
              • D DaveyM69

                I use IcoFX if that's any help

                Dave
                BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
                Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
                Why are you using VB6? Do you hate yourself? (Christian Graus)

                N Offline
                N Offline
                nik121
                wrote on last edited by
                #7

                Well thank you so much! It turns out that with IcoFX the icon works well. :)

                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