Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

changing file icon programmatically !

Posted on 2003-11-28
4
Medium Priority
?
392 Views
Last Modified: 2008-02-01
How can I change programmatically the icon associated with an executable file.

If I compile my project, the application is receiving the first icon from the list.

The IDR_MAINFRAME icon has been removed and I can than change the frame icon dynamically but I want to change also the icone shown in the explorer window and desktop !

Any idea to do this ?
0
Comment
Question by:mike_marquet
2 Comments
 
LVL 2

Accepted Solution

by:
DidierD earned 1000 total points
ID: 9865743
What Language?

A quick solution would be to call ResourceHacker from your appl http://www.users.on.net/johnson/resourcehacker/
Look in the helpfile for command line
0
 

Author Comment

by:mike_marquet
ID: 9866241
I'm using Microsoft Visual C++ 6
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Windows Script Host (WSH) has been part of Windows since Windows NT4. Windows Script Host provides architecture for building dynamic scripts that consist of a core object model, scripting hosts, and scripting engines. The key components of Window…
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Suggested Courses

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question