Go to Post Design is iterative, right? - JesseK [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 26-04-2006, 09:02
Eisner664 Eisner664 is offline
Registered User
FRC #1100
 
Join Date: Jan 2006
Location: Massachusetts
Posts: 18
Eisner664 can only hope to improve
Put an icon on an EXE? (was: HELP!!)

OK i know this is a robotics website, but i knew that you guys would be the perfect people to ask, does anyone know how to put an icon on an executable file, i made a first icon, and i want tto put it on an executable file
__________________
Go Team 1100
  #2   Spotlight this post!  
Unread 26-04-2006, 10:29
Jack Jones Jack Jones is offline
Retired
no team
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Waterford, MI
Posts: 964
Jack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond repute
Re: HELP!!

Not knowing what programing environment you're using, here's a couple of suggestions that may give you a clue...
Also - Try Googling "ICON DISCARDABLE" you may hit on one for your environment.

Here's a way to do it in Visual C++

In Borland BCC32:

Make a 16x16 Windows icon image (IrfanView has that save_as):
your_icon.ico

Make a resource file your_resource.rc that says:
IDI_ICON1 ICON DISCARDABLE "your_icon.ico"

If you're using TMAKE to create your makefile, put this at the start of your_program.pro:
RC_FILE = your_resource.rc

NOTE: THat's all you should need to do. TMAKE then automagiacally generates the makefile to contain the highlighted items (included just in case you want to hardwire the makefile - good luck)

!if !$d(BCB)
BCB = $(MAKEDIR)\..
!endif

...
LFLAGS = -L$(BCB)\lib -c -x -Gn -aa -Tpe c0w32.obj
LIBS = import32.lib $(QTDIR)\lib\qt.lib cw32.lib , , your_resource.res
...
all: $(TARGET)

$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) your_resource.res
$(LINK) @&&|
$(LFLAGS) $(OBJECTS) $(OBJMOC), $(TARGET),,$(LIBS)
|

your_resource.res: your_resource.rc
brcc32 your_resource.rc
  #3   Spotlight this post!  
Unread 26-04-2006, 11:43
coldabert's Avatar
coldabert coldabert is offline
The Dude
FRC #0888 (Robotiators)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2003
Location: MD
Posts: 83
coldabert is a glorious beacon of lightcoldabert is a glorious beacon of lightcoldabert is a glorious beacon of lightcoldabert is a glorious beacon of lightcoldabert is a glorious beacon of light
Send a message via AIM to coldabert
hex is cool too

Yeah. It really depends on the developement enviroment that you're using. It's also possible to edit the hex on the exe but this can become complicated. Feel free to PM or email me if you would like some more guidance on this topic.

-Cole

Good luck to all teams in Atlanta!
  #4   Spotlight this post!  
Unread 26-04-2006, 11:52
KenWittlief KenWittlief is offline
.
no team
Team Role: Engineer
 
Join Date: Mar 2003
Location: Rochester, NY
Posts: 4,213
KenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond repute
Re: Put an icon on an EXE? (was: HELP!!)

I think he's talking about an icon for the windows desktop or directorys? How do you create a new icon for a widows (.exe) program and attach it?
  #5   Spotlight this post!  
Unread 26-04-2006, 14:11
coldabert's Avatar
coldabert coldabert is offline
The Dude
FRC #0888 (Robotiators)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2003
Location: MD
Posts: 83
coldabert is a glorious beacon of lightcoldabert is a glorious beacon of lightcoldabert is a glorious beacon of lightcoldabert is a glorious beacon of lightcoldabert is a glorious beacon of light
Send a message via AIM to coldabert
Re: Put an icon on an EXE? (was: HELP!!)

It's easy to change a shortcut's icon.
1. Rightclick and select properties
2. make sure the "shortcut" tab is opened
3. At the bottom right, select "Change Icon..."
4. Select one of those, or "Browse" to a custom one.

The icon associated with a (EXE) program is usually built into the EXE file.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vote for the new Spotlight Icon Brandon Martus CD Forum Support 16 26-06-2004 14:32
Explain your Icon Aaron Lussier Chit-Chat 92 13-06-2003 10:49
a small request: autocad icon Brandon Martus Inventor 4 15-11-2002 18:22
I just made ginger Buddy Icon Anton Abaya Dean Kamen's Inventions 7 11-12-2001 20:51
GET YOUR SEGWAY BUDDY ICON HERE! Anton Abaya Dean Kamen's Inventions 1 11-12-2001 14:29


All times are GMT -5. The time now is 03:20.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi