 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Mon May 14, 2007 5:02 pm Post subject: Problem with application icon |
|
|
Hello,
I have recently changed the application icon of one of my programs, via
it's compiler options - Application tab. This icon is stored in the
programname.res file, and when I open this file with the Resource
Builder, it is the only correct icon available. The project does include
other resource files, but none contains icons, only bitmaps.
My problem is that the compiled program still uses the old icon that was
previously associated with it. With the XN Resource Editor I can view
the resources contained by the executable, and it contains only the one
wrong icon.
How can I change my application icon correctly?
I am using BDS2006!
Best regards,
Wiljo. |
|
| Back to top |
|
 |
Craig Farrell Guest
|
Posted: Tue May 15, 2007 3:14 am Post subject: Re: Problem with application icon |
|
|
Hi,
| Quote: | My problem is that the compiled program still uses the old icon that was
previously associated with it. With the XN Resource Editor I can view
the resources contained by the executable, and it contains only the one
wrong icon.
|
I know of some cases where, e.g. a package might have
an icon bound to it and it overrides yours. You could
try trimming your used packages list and also turn ON
the linker warning to warn on duplicates.
--Craig |
|
| Back to top |
|
 |
Guest
|
Posted: Tue May 15, 2007 1:10 pm Post subject: Re: Problem with application icon |
|
|
Craig Farrell wrote:
| Quote: | Hi,
My problem is that the compiled program still uses the old icon that
was previously associated with it. With the XN Resource Editor I can
view the resources contained by the executable, and it contains only
the one wrong icon.
I know of some cases where, e.g. a package might have
an icon bound to it and it overrides yours. You could
try trimming your used packages list and also turn ON
the linker warning to warn on duplicates.
--Craig
Thanks for your reply Craig. This does shed some light on the problem. |
But alas looking into it, our problem is a little bit trickier. I
checked the packages we are using, but none of them contain the icon
eventually used by the application. I even trimmed the packaged list
down to the bare minimum, but to no avail. We only use one package
written within our team, but that one doesn't contain any icons at all,
just bitmaps. All other packages used, may contain icons, but none
contain that particular icon. The old icon, that will simply not remove
itself from the application, is our current company logo, but because we
are writing several programs, it is hard to see the difference between
the programs when they all have the same application icon. That is why
we made application specific icons. Some applications accept their new
icon, but others do not. They persist on using the old company icon,
while no resource contains any reference to it.
What might be the difference between those applications that do and
those that don't accept their new icon? Might there be something in the
bdsproj file we have overlooked?
Could someone please help us solve this problem.
Wiljo. |
|
| Back to top |
|
 |
jmd Guest
|
Posted: Wed May 16, 2007 8:12 pm Post subject: Re: Problem with application icon |
|
|
<< Wiljo >> wrote:
| Quote: | just bitmaps. All other packages used, may contain icons, but none
contain that particular icon. The old icon, that will simply not remove
itself from the application, is our current company logo, but because we
are writing several programs, it is hard to see the difference between
the programs when they all have the same application icon. That is why
we made application specific icons. Some applications accept their new
icon, but others do not. They persist on using the old company icon,
while no resource contains any reference to it.
What might be the difference between those applications that do and
those that don't accept their new icon? Might there be something in the
bdsproj file we have overlooked?
Could someone please help us solve this problem.
Wiljo.
|
Hello!
I have had a similar problem, but with custom resource files
containing 3d objects.
I edit the res. files with XN Res. editor and save them
(overwriting the original resource).
I have noticed that I have to "build all" to get my app to
use the new resourcefile!
Hope it helps! (I remember that I had the exact same problem
as you do a long time ago, but I can't remember what I did to
resolve it...)
Regards
jmd |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|