Re: Maarten, I am still having trouble



OK I just checked my .DPR file land I have
{$R *.RES} I have some other Delphi 5 programs that I can change the icon
of the .exe file but cannot see why this one don't work.
Originally this program was written in Pascal and then ported over to
Delphi 4 and now ported over to Delphi 4. I do have some include files but
I still cannot see why I cannot change the final ICON

charles

"J French" <erewhon@xxxxxxxxxx> wrote in message
news:4593d3e1.8967109@xxxxxxxxxxxxxxxxxxxxxxx
On Thu, 28 Dec 2006 13:44:36 GMT, "charles" <instrulab@xxxxxxxxxxxxx>
wrote:

I wrote that I went to projects / options / and applications and load an
icon but that I con doesn't show up on my exe file. It is the right exe
file because the title is different from any other exe that I wrote

Maarten wrote The icon is saved in the project's resource file. If that
isn't being included, or not as the first resource file with icons in it,
the icon would not show up.

I have the icon in the folder with all the project files but I am not
sure
what is the resource file and how do I find that?

In a Project file ( .DPR ) you should see :-

{$R *.RES}

This tells the system to include: AppName.res

Your best bet is to start up a new Project and play around, when you
add an Icon in Project/Options then you should see PROJECT1.RES appear
in the same directory as PROJECT1.DPR and PROJECT1.EXE






.



Relevant Pages

  • Re: bugs in BDS 2006 ? even after patching
    ... In "Programs folder" i've run the BDS2006 via the icon "Borland Developer Studio 2006". ... the same for delphi. ... If i click back on "Borland Developer Studio 2006", none of this project style is available.... ... Onset Computer Corp. ...
    (borland.public.delphi.non-technical)
  • File version gone with resource file
    ... icons in my exe file in VS 2005 (the second one is for the file type my ... VS used the first icon as my application icon, ... If I remove the resource file, the file version is back, both in the ... Does this mean the res file overrides my Assembly Info settings? ...
    (microsoft.public.vstudio.general)
  • Re: Maarten, I am still having trouble
    ... icon but that I con doesn't show up on my exe file. ... Maarten wrote The icon is saved in the project's resource file. ...
    (alt.comp.lang.borland-delphi)
  • bugs in BDS 2006 ? even after patching
    ... In "Programs folder" i've run the BDS2006 via the icon "Borland Developer Studio 2006". ... the same for delphi. ... But if after, i click on the icon "C++ Builder", the 2 pervious features to create a MDI and SDI application disappear... ... If i click back on "Borland Developer Studio 2006", none of this project style is available.... ...
    (borland.public.delphi.non-technical)
  • Re: Icon library in EXE files
    ... Bob wrote: ... I want my EXE file to contain more than one icon, ... Add a resource file to the project and icons to the resource file. ...
    (microsoft.public.vb.controls)