hi!
i want to change the icon of an exe file. And the file will be moved from computer so the icon must be embedded in the exe file...is there any way?? the exe file is a daily use application so i want to give it an icon which shows its utility...

The icon is compiled into a .RES file, which is then linked to the executable file. Think of it like a static library file (.lib file). Once the library is linked and the executable is created, you don't need the lib file to run the exe file. Read this for more information on how to create, compile and link the icon file.

Or are you trying to change the icon file of an already created executable to which you do not have access to the source code?

For option number two, google Resource Hacker. That'll do it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.