Delphi Program Icons

I have seen many similar questions asked on here before, but not the answer i was looking for. Upon compiling my delphi applications, the default program icon to represent my application is set as the delphi 7 icon (as this is what im using). This has lead me to several questions i wanted answered...
Is there a way to edit or somehow change the program icon given to my applications, upon compiling it?
IF the ONLY way to change the program icon is after it has been compiled, and only if the exe is not running at the time of changing the icon, if i were to programatically change the icon and distribute my application, would the new icon be visible to anyone i send the application to....or would they have to manually change the icon on their computer too?
Perhaps theres an option in delphi to somehow set the program icon, before i compile it? (rather like the fact that you can change the icon that appears on the title bar of your application)

Any help is kindly appreciated!
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Pierre CorneliusCommented:
There is. Click on Project, Options (or Shift + Ctrl + F11).
Select the applications tab.
Click on load icon and select the icon you want.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Expanding on PierreC,

If you want an icon for different forms then change the form icon property, the icon will be included in the exe so you don't need to carry the icon along with the exe.


I'm not sure what you mean by "default program icon".  Do you mean "the icon that appears in Program Manager/Windows Explorer for the executable file" or "the icon that appears at the top of any dialog boxes shown" or "the icon that appears on the taskbar when your program is running" or "the icon that appears at the top left of the main form"?

The first three are all set by the Project options as PierreC described.  Also the second and third can be changed programmatically when the program is running using the Application.Icon property (see help).  The final one (as Hypoviax suggested) can be set on the designer by bringing up the properties of the form and changing its icon and also can be set at runtime programmatically by using MainForm.Icon (or whatever you've called the main form).

Hope this helps.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.