Solved

changing file icon programmatically !

Posted on 2003-11-28
4
385 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
4 Comments
 
LVL 2

Accepted Solution

by:
DidierD earned 250 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
dog bark java program 15 87
maven archtype selection in eclipse 1 53
Python - ImportError: No module named 'urllib2' 2 153
Python Encoding Problem \u2013 4 107
Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

910 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now