?
Solved

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

Posted on 2011-02-11
7
Medium Priority
?
606 Views
Last Modified: 2012-05-11
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
0
Comment
Question by:farcuri
[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
  • 3
  • 3
7 Comments
 
LVL 49

Expert Comment

by:dbrunton
ID: 34874387
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/



0
 

Author Comment

by:farcuri
ID: 34874870
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
0
 
LVL 49

Expert Comment

by:dbrunton
ID: 34875910
In Explorer
Tools --> Folder Options --> File Types --> Advanced should be what you want.
0
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!

 
LVL 11

Expert Comment

by:DeepuAbrahamK
ID: 34886732
Try open the resource file in visual studio and edit the IDR_MAINFRAME
0
 

Author Comment

by:farcuri
ID: 34888605
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
0
 
LVL 49

Accepted Solution

by:
dbrunton earned 1000 total points
ID: 34899959
Go here http://www.howtogeek.com/howto/windows/customizing-your-icons-in-windows-xp/

and find the section

Change Icons for Regular File Types

That describes in more detail what I put above.
0
 

Author Comment

by:farcuri
ID: 34900306
I think the link you sent provides the answers I was looking for.
Thanks,
F
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

cPanel is a Unix based web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a web site. cPanel utilizes a 3 tier structure that provides functionality for administrators, rese…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
Suggested Courses

770 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