Solved

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

Posted on 2011-02-11
7
589 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 48

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 48

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 48

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

We have adopted the strategy to use Computers in Student Labs as the bulletin boards. The same target can be achieved by using a Login Notice feature in Group policy but it’s not as attractive as graphical wallpapers with message which grabs the att…
Summary: This tutorial covers some basics of pointer, pointer arithmetic and function pointer. What is a pointer: A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

696 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