Link to home
Start Free TrialLog in
Avatar of farcuri
farcuriFlag for United States of America

asked on

how do I change the icon of the executable created with Borland C++

Hi,
I write programs in Borland C++ and the compiler creates a executable.  Is there a way of changing the icon that the Windows XP places on the executable?  I have a image file that I would like to be the new icon.  Could you give an example of how to make this file (.bmp or .jpg) my new icon?
Thanks
Avatar of dbrunton
dbrunton
Flag of New Zealand image

I presume you are talking about the icons placed within the file.

Resource Hacker http://en.wikipedia.org/wiki/Resource_Hacker

You'd have to make your image file the same size as the icons within the executable.

Tutorials exist such as http://www.askvg.com/tutorial-all-about-resource-hacker-in-a-brief-tutorial/



Avatar of farcuri

ASKER

I'm sorry, but the icon I'm talking about is the one that Windows explorer assigns to the executable file.  In Windows XP right click on a folder and choose explore.   With View\Details option selected the various file types have a particular icon.  For example, Word has a blue "W", Excel has a green "E" and Internet Explorer has a blue "e".  How do I modify the icon that I have currently for Borland C++ Applications which is a blue series of skyscrapers?
thanks,
F
In Explorer
Tools --> Folder Options --> File Types --> Advanced should be what you want.
Try open the resource file in visual studio and edit the IDR_MAINFRAME
Avatar of farcuri

ASKER

Hi,
No one has given me what I asked which was an example of how to change the icon to something else. DBrunton has been the closest.  Please elaborate. I have doubled the  points I offer!
Thanks,
F
ASKER CERTIFIED SOLUTION
Avatar of dbrunton
dbrunton
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of farcuri

ASKER

I think the link you sent provides the answers I was looking for.
Thanks,
F