R – Set application icon from resources in VS 05


I know I can add a icon to the Resources.resx file of a project and then reference that icon from within the code.

How do I set the icon of the entire EXE from the resources? All I see is a place to browse for another file. I want to use the current icon file that I have in my resources and not have to have a duplicate file in my project…


Best Solution

The way that the adding of an application icon is that you must select it from the local file system, and then it is embedded into the application at build time. As far as I know it is not possible to have it first pull from a resource file.