• Welcome to PlanetSquires Forums.
 

Icon Bug

Started by paulDiagnos, October 27, 2006, 07:56:34 AM

Previous topic - Next topic

paulDiagnos

Hi all,

Not sure if this is just a bug, or i am looking for the solution in the wrong place. For a while now i have been maintaining some software created by firefly.

recently i had to change the icon of the project, but when using the msgbox within the code the pop up still has the wrong icon with it

i have changed the icon on ever form, in project properties 1000 times.

any suggestions

thanks Paul

Roger Garstang

I had this problem a while back...seemed to happen on Windows XP mostly.  From what I saw it was the way it pulled the default/first icon resource out of the exe.  I thought Paul fixed this when he went to giving the main icon resources names starting with AAAA...  Look at your resource file(s)- *.rc and see what names your icons have.  Be sure if numeric ID values that they have the lowest number on the main icon you want, and lowest in A-Z string names.  FF has an option of setting project icon to form's icon, etc.  Make sure that is setup right too so it gets the proper name.  That should fix the problem.  Let us know what you find, or maybe a sample of the rc file(s).

paulDiagnos

Thanks for the reply..

I actually fixed it by accedent.

I used Inno installer to add some icons to the registry .. .

changed the icons for the registry on the installer fixed my problem