Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

changing file icon programmatically !

Posted on 2003-11-28
4
Medium Priority
?
391 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 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

Industry Leaders: 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

How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
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 …
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

670 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