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 / C++ / MFC
  4. How to change the Icon of my EXE ?

How to change the Icon of my EXE ?

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorialquestion
3 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.
  • A Offline
    A Offline
    Amarelia
    wrote on last edited by
    #1

    Hi I have a mfc application whose icon for EXE is the one comes default MFC icon. I want to change it by the one I have. I have *.ICO file and I want my EXE icon to be that file.... How to change it ? Amarelia Maehsh Gujarat India

    B A 2 Replies Last reply
    0
    • A Amarelia

      Hi I have a mfc application whose icon for EXE is the one comes default MFC icon. I want to change it by the one I have. I have *.ICO file and I want my EXE icon to be that file.... How to change it ? Amarelia Maehsh Gujarat India

      B Offline
      B Offline
      Boaz V
      wrote on last edited by
      #2

      Try importing the ICO file into the 'Resource' view in the visual c++ program. Make sure you remove the MFC default icon from that 'Resource' view.

      1 Reply Last reply
      0
      • A Amarelia

        Hi I have a mfc application whose icon for EXE is the one comes default MFC icon. I want to change it by the one I have. I have *.ICO file and I want my EXE icon to be that file.... How to change it ? Amarelia Maehsh Gujarat India

        A Offline
        A Offline
        Achim Klein
        wrote on last edited by
        #3

        Hi, usually I replace the .ico file in the project's \res folder. Regards


        We can do no great things, only small things with great love. - Mother Theresa

        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