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. .NET (Core and Framework)
  4. Basic Executable Icon

Basic Executable Icon

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpc++question
9 Posts 4 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.
  • P Offline
    P Offline
    pcxboy
    wrote on last edited by
    #1

    I have completed a .NET C++ project however the icon for the executable is the old DOS icon. How would I make it so that an icon I created would be the executable icon instead of the old DOS icon? Thank you very much. Also, my program gets much of the information needed from text files. Is there a way to bind those text files to the executable as well? Thank you again. :-D

    M M 3 Replies Last reply
    0
    • P pcxboy

      I have completed a .NET C++ project however the icon for the executable is the old DOS icon. How would I make it so that an icon I created would be the executable icon instead of the old DOS icon? Thank you very much. Also, my program gets much of the information needed from text files. Is there a way to bind those text files to the executable as well? Thank you again. :-D

      M Offline
      M Offline
      MoustafaS
      wrote on last edited by
      #2

      pcxboy wrote: I have completed a .NET C++ project A VS.NET project ? If so ,then just go to Project menu and then Properties and then you will find app.ico name asociated with the Icon property of the project ,there you can replace the icon of the exe itself by yours.

      P 1 Reply Last reply
      0
      • P pcxboy

        I have completed a .NET C++ project however the icon for the executable is the old DOS icon. How would I make it so that an icon I created would be the executable icon instead of the old DOS icon? Thank you very much. Also, my program gets much of the information needed from text files. Is there a way to bind those text files to the executable as well? Thank you again. :-D

        M Offline
        M Offline
        MoustafaS
        wrote on last edited by
        #3

        pcxboy wrote: Is there a way to bind those text files to the executable as well? Thank you again You can just put them in the same directory,and open them by StreamReader object.

        1 Reply Last reply
        0
        • P pcxboy

          I have completed a .NET C++ project however the icon for the executable is the old DOS icon. How would I make it so that an icon I created would be the executable icon instead of the old DOS icon? Thank you very much. Also, my program gets much of the information needed from text files. Is there a way to bind those text files to the executable as well? Thank you again. :-D

          M Offline
          M Offline
          Marc Clifton
          wrote on last edited by
          #4

          pcxboy wrote: Is there a way to bind those text files to the executable as well? Can they be put into the resource file? Marc My website
          Latest Articles: Undo/Redo Buffer Memento Design Pattern

          P 1 Reply Last reply
          0
          • M Marc Clifton

            pcxboy wrote: Is there a way to bind those text files to the executable as well? Can they be put into the resource file? Marc My website
            Latest Articles: Undo/Redo Buffer Memento Design Pattern

            P Offline
            P Offline
            pcxboy
            wrote on last edited by
            #5

            if it can, I wouldnt know how to go about doing it, nor how to access that information

            A 1 Reply Last reply
            0
            • M MoustafaS

              pcxboy wrote: I have completed a .NET C++ project A VS.NET project ? If so ,then just go to Project menu and then Properties and then you will find app.ico name asociated with the Icon property of the project ,there you can replace the icon of the exe itself by yours.

              P Offline
              P Offline
              pcxboy
              wrote on last edited by
              #6

              I wasnt able to find the Icon propert of the project.

              M 1 Reply Last reply
              0
              • P pcxboy

                I wasnt able to find the Icon propert of the project.

                M Offline
                M Offline
                MoustafaS
                wrote on last edited by
                #7

                Right click your project in the solution explorer and click properties,then you will find in the right pan a field called Application Icon,just browse to your icon and it will be as well.

                1 Reply Last reply
                0
                • P pcxboy

                  if it can, I wouldnt know how to go about doing it, nor how to access that information

                  A Offline
                  A Offline
                  Anonymous
                  wrote on last edited by
                  #8

                  Cheat, Make your icon and rename it app.ico and place it in the project folder.

                  P 1 Reply Last reply
                  0
                  • A Anonymous

                    Cheat, Make your icon and rename it app.ico and place it in the project folder.

                    P Offline
                    P Offline
                    pcxboy
                    wrote on last edited by
                    #9

                    HA HA HA ha :laugh:. Yes, thats exactly what I did. I couldn't figure out how to do the other suggestions, even the online ones. Also, I decided to turn each text file into its own seperate class :sigh:. Very time consuming and increased the size of the program, but it worked. Thanks for all the help.

                    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