Project Icon for MC++
-
How do I set the project level icon? After the project has been built I still have the default icon. I know in C# you set it in the project properties but I do not have that option in MC++ (unless I'm just blind).
-
How do I set the project level icon? After the project has been built I still have the default icon. I know in C# you set it in the project properties but I do not have that option in MC++ (unless I'm just blind).
I'm not sure I follow. Do you meant the application's icon that can be found in the recource view? Cheers, Tom Archer Never be afraid to try something new. Remember that a lone amateur built the Ark. A large group of professionals built the Titanic. * Inside C# -Second Edition * Visual C++.NET Bible * Extending MFC Applications with the .NET Framework
-
I'm not sure I follow. Do you meant the application's icon that can be found in the recource view? Cheers, Tom Archer Never be afraid to try something new. Remember that a lone amateur built the Ark. A large group of professionals built the Titanic. * Inside C# -Second Edition * Visual C++.NET Bible * Extending MFC Applications with the .NET Framework
Sorry. When you look in explorer at the .exe file you only see the default icon... it looks like an icon for a console app. I want to use the icon I used in the winform. My problem is, after installing the app the default icon (the console one) shows up in the start menu. I just need to change that icon in the project. In C# I can change this in the project properties pages under General|Application Icon. Sorry about not being more clear. I'm more of a C# person or I sould say, that I have only written console apps in C++ and not really any WinForm apps. Thanks for the help.
-
Sorry. When you look in explorer at the .exe file you only see the default icon... it looks like an icon for a console app. I want to use the icon I used in the winform. My problem is, after installing the app the default icon (the console one) shows up in the start menu. I just need to change that icon in the project. In C# I can change this in the project properties pages under General|Application Icon. Sorry about not being more clear. I'm more of a C# person or I sould say, that I have only written console apps in C++ and not really any WinForm apps. Thanks for the help.
No problem. In order to replace the default icon with another:
- Locate and delete the project's app.ico file
- Copy your desired icon file to the same folder
- Rename your icon file to app.ico
- Build the project and you will see your desired icon as in Explorer.
Cheers, Tom Archer Never be afraid to try something new. Remember that a lone amateur built the Ark. A large group of professionals built the Titanic. * Inside C# -Second Edition * Visual C++.NET Bible * Extending MFC Applications with the .NET Framework
-
No problem. In order to replace the default icon with another:
- Locate and delete the project's app.ico file
- Copy your desired icon file to the same folder
- Rename your icon file to app.ico
- Build the project and you will see your desired icon as in Explorer.
Cheers, Tom Archer Never be afraid to try something new. Remember that a lone amateur built the Ark. A large group of professionals built the Titanic. * Inside C# -Second Edition * Visual C++.NET Bible * Extending MFC Applications with the .NET Framework
Great thanks for the help. Out of all the C++ books I have I could not find that anwser.
-
Great thanks for the help. Out of all the C++ books I have I could not find that anwser.
You're very welcome. I think the reason you don't see this covered is that it doesn't fit neatly into most any chapter. However, I'm thinking that if I revise the VC++.NET Bible that I'll add it to Chapter 1 as that's kind of a "Introductory, Let's write your first app" type of chapter. Cheers, Tom Archer Never be afraid to try something new. Remember that a lone amateur built the Ark. A large group of professionals built the Titanic. * Inside C# -Second Edition * Visual C++.NET Bible * Extending MFC Applications with the .NET Framework