Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio C++ 2010 How to add an ICON to a console application

I've created a console application in Visual Studio C++ 2010 but I cannot add an Icon. Ive basically searched everywhere but all the tips and hints seem to not be working, as I cant even find all the menus that are suggested in the tips Ive read (Probably for older versions of VC++ 2010).

Does anyone have a good tip on how to simply add a custom icon to my own console application?

like image 317
hennessy Avatar asked Nov 25 '12 15:11

hennessy


People also ask

How do I add icons to Visual Studio?

On the menu bar, choose Project > Properties. When the Project Designer appears, choose the Application tab. (Visual Basic)—In the Icon list, choose an icon (. ico) file.


1 Answers

Just create a resource file (.rc), and add an icon resource. If there's only one icon in it- it will automatically be used as a symbolic description to your application.

like image 160
valdo Avatar answered Nov 14 '22 23:11

valdo