Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Change Title Icon File in a EXE 2.6 2

Status
Not open for further replies.

2683

IS-IT--Management
Joined
Jun 25, 2003
Messages
7
Location
AR
I've been trying to change the Icon file and create an EXE file with a .ICO of my own, and I can't see it properly (always appear foxpro foxhead).
I have changed with the command "Modify window screen title 'XXXXX' icon file myico.ico" but when I create the EXE the new ICO does not appear.
Thank you.
 
To change the .EXE Icon, you need to use the ADDICON.APP that is included with FPW.

Rick
 
Ok Rick, can you tell me where can I get information about using ADDICON.APP ?
 
There's not much to it. Just do:
do home()+"addicon.app"
Pick the .EXE and the .ICO file and click OK.

Note: You'll need an .ICO file with (at least) a 16x16x16 and a 32x32x16 image, to have it show up in shortcuts in both sizes the Win32 Explorer expects. There are many freeware / shareware utilities available that will allow you to create and/or edit .ICO files.

Rick
 
Getting your icon to show for your exe is a two fold process.

First, in order to have the icon show for the .exe in explorer and for shortcuts, do what Rick told you.

Second, in order to have your icon appear in the title bar of your windows you must do the following 7 step process.

The reason the fox shows is because of the embedded icon in the foxw2600.esl file.
This is the run time file fox uses to run your .exe

This fix I am about to give you is not supported my MS, but many (including myself) have done it.

Step 1: Make backup of your ESL file. Just incase it gets corrupted (it DOES happen!)
Step 2:Remove Read-Only Attrib
Step 3: Rename to FOXW2600.EXE
Step 4: Open file in an icon editor app.
Step 5: Replace icon with your icon (follow the instructions for you icon editor app.
Step 6: Rename back to FOXW2600.ESL
Step 7: Put back Read-Only Attrib

Now the next time you run your app your icon, instead of the fox, will be there.

Hope this helps.

B"H
Brak
 
Thanks Brak, I did it but I need an icon editor useful to change icons from EXE files, because I use Microangelo and you can't change icon from files in win9x and winMe.
Do you know another helpful soft to do that ?
Thanks again,
 
Wow, Microangelo is the icon tool that everyone mentions for doing this.

I would look into the help a little more, no sence in getting a new icon editor when you have one already one, one that is suppost to be the best.

Also, there is a FAQ on this site which has FOX code that will do this for you. I would suggest going to that FAQ
So you don't really need an icon editor.

B"H
Brak
 
Brak, Rick, it works !!!
The .Prg included in the FAQs really changes the icon.
You must be careful with de image definition (only 16X16 works properly)
I really appreciate your mentions and help !
Sincerely,

 
Don't forget to give us both a star. :)

I feel like I'm in the first grade. lol

B"H
Brak
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top