-
add a Icon to my .exe
hello guys,
I've made a couple of Win32 Console Applications on my Visual C++ 6 Introductory Edition and I would like to add a Icon to the .exe like I do when I'm creating a MFC AppWizard(exe)..... does anyone knows how can I doo that ???
Thanks in advance....
-
Yes I certainly do. First click on "Insert" and then click "Resource...". From the Dialog Box it brings up, choose "Icon" and make your pretty little icon. Then click the "Save All" button. Save your resource script dealie like it tells you to. Then you've got to load the files into your project. Go to "Project > Add to Project > Files" and select your resource file ("Script1.rc" for example) and the icon. Then simply add
Code:
#include "resource.h"
into your program (it should have automatically made that file). There could be an easier way, I don't know, but that always works for me -shrug-.
-Edit- The icon won't show up when you run the program through Visual Studio. You need to open the program's directory, open the "Debug" folder, and then you'll see the .exe with the icon.
Brendan
-
Thanks HarryP..... that solved my question, plain, simple and good explanation on what I wanted.......
once again..... thanks.....