build project with chosen icon
-
I want to build my project whose execute file (.exe) have an icon I chose. How could i do it ?
The first icon (lowest numbered identifier) in the resource section of your executable will be used as the application icon. Just add an icon to your project and give it the ID 1.
Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
-
I want to build my project whose execute file (.exe) have an icon I chose. How could i do it ?
Assuming you are using MFC, the ID of your application's icon will be IDR_MAINFRAME (i think.. check that). Now, import the icon you want and rename the ID of it to IDR_MAINFRAME (delete the previous icon before this or rename the ID of that to something else). Regards, Rajesh R. Subramanian You have an apple and me too. We exchange those and We have an apple each. You have an idea and me too. We exchange those and We have two ideas each.
-
Assuming you are using MFC, the ID of your application's icon will be IDR_MAINFRAME (i think.. check that). Now, import the icon you want and rename the ID of it to IDR_MAINFRAME (delete the previous icon before this or rename the ID of that to something else). Regards, Rajesh R. Subramanian You have an apple and me too. We exchange those and We have an apple each. You have an idea and me too. We exchange those and We have two ideas each.
-
Assuming you are using MFC, the ID of your application's icon will be IDR_MAINFRAME (i think.. check that). Now, import the icon you want and rename the ID of it to IDR_MAINFRAME (delete the previous icon before this or rename the ID of that to something else). Regards, Rajesh R. Subramanian You have an apple and me too. We exchange those and We have an apple each. You have an idea and me too. We exchange those and We have two ideas each.
I assume that the program was created with the default MFC icon. So just replace the icon file with one of your choice, and rebuild the resources. Simplest is to just rebuild the whole project. Then the new icon is used instead of the old one. Shraddhan