Solved

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

Posted on 2011-02-11
7
593 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
Independent Software Vendors: 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 250 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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

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…
Sometimes people don't understand why download speed shows differently for Windows than Linux.Specially, this article covers and shows the solution for throughput difference for Windows than a Linux machine. For this, I arranged a test scenario.I…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use for-loops in the C programming language.
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.

717 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