 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Blake Young Guest
|
Posted: Fri Sep 05, 2003 10:36 pm Post subject: final EXE icon - having trouble |
|
|
I am using C++Builder 3.0 Professional and I'm creating a little FTP wizard
for which I have created my own icon. I have been able to successfully add
my custom to icon to the main form (Form1), but I can't seem to make my
final EXE have that icon. I went to Project->Options, clicked on the
Application tab, and then selected my custom icon for the Application
Settings, but it still won't work. The icon always ends up being the
default C++ builder icon (you know, the one with the buildings). Any help
is appreciated. Thanks.
|
|
| Back to top |
|
 |
John Young Guest
|
Posted: Sat Sep 06, 2003 2:10 pm Post subject: Re: final EXE icon - having trouble |
|
|
Are you able to change the icon through using Windows Explorer.?
John Young
"Blake Young" <blakeyoung (AT) mail (DOT) utexas.edu> wrote
| Quote: | I am using C++Builder 3.0 Professional and I'm creating a little FTP
wizard
for which I have created my own icon. I have been able to successfully
add
my custom to icon to the main form (Form1), but I can't seem to make my
final EXE have that icon. I went to Project->Options, clicked on the
Application tab, and then selected my custom icon for the Application
Settings, but it still won't work. The icon always ends up being the
default C++ builder icon (you know, the one with the buildings). Any help
is appreciated. Thanks.
|
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Sat Sep 06, 2003 8:18 pm Post subject: Re: final EXE icon - having trouble |
|
|
"John Young" <polomint77 (AT) hotmail (DOT) com> wrote
| Quote: | Are you able to change the icon through using Windows Explorer.?
|
That is not the same thing. That merely sets up an overriding icon using
the Registry. That does onto address the true issue of the desired icon not
being compiled directly into the executable correctly.
Gambit
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system ([url]http://www.grisoft.com)[/url].
Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/03
|
|
| Back to top |
|
 |
John Young Guest
|
Posted: Sat Sep 06, 2003 11:54 pm Post subject: Re: final EXE icon - having trouble |
|
|
Of course not, my brain hasn't been working too well today...
John
"Remy Lebeau (TeamB)" <gambit47 (AT) yahoo (DOT) com> wrote
| Quote: |
"John Young" <polomint77 (AT) hotmail (DOT) com> wrote in message
news:3f59eac1$1 (AT) newsgroups (DOT) borland.com...
Are you able to change the icon through using Windows Explorer.?
That is not the same thing. That merely sets up an overriding icon using
the Registry. That does onto address the true issue of the desired icon
not
being compiled directly into the executable correctly.
Gambit
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system ([url]http://www.grisoft.com)[/url].
Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/03
|
|
|
| Back to top |
|
 |
Jonathan Arnold Guest
|
Posted: Tue Sep 09, 2003 1:12 am Post subject: Re: final EXE icon - having trouble |
|
|
| Quote: | I am using C++Builder 3.0 Professional and I'm creating a little FTP wizard
for which I have created my own icon. I have been able to successfully add
my custom to icon to the main form (Form1), but I can't seem to make my
final EXE have that icon. I went to Project->Options, clicked on the
Application tab, and then selected my custom icon for the Application
Settings, but it still won't work. The icon always ends up being the
default C++ builder icon (you know, the one with the buildings). Any help
is appreciated. Thanks.
|
Often this is because you have added a .rc or .res file to your project
that has the name "projectname.rc/res". The IDE uses projectname.res to
store the icon in it, and they will take turns stomping on each other.
--
Jonathan Arnold C/C++/CBuilder Keen Advice:
http://www.keen.com/categories/categorylist_expand.asp?sid=5156620
Comprehensive C++Builder link site:
http://www.buddydog.org/C++Builder/c++builder.html
|
|
| Back to top |
|
 |
Morten Espeland Guest
|
Posted: Tue Sep 09, 2003 7:35 am Post subject: Re: final EXE icon - having trouble |
|
|
Also, I remember from trouble I had with earlier versions of Builder
that I had this trouble if the Sample Components package was checked.
Uncheck it from project->options->packages
Morten Espeland
"Jonathan Arnold" <jdarnold (AT) buddydog (DOT) org> wrote
| Quote: | I am using C++Builder 3.0 Professional and I'm creating a little FTP
wizard
for which I have created my own icon. I have been able to successfully
add
my custom to icon to the main form (Form1), but I can't seem to make my
final EXE have that icon. I went to Project->Options, clicked on the
Application tab, and then selected my custom icon for the Application
Settings, but it still won't work. The icon always ends up being the
default C++ builder icon (you know, the one with the buildings). Any
help
is appreciated. Thanks.
Often this is because you have added a .rc or .res file to your project
that has the name "projectname.rc/res". The IDE uses projectname.res to
store the icon in it, and they will take turns stomping on each other.
--
Jonathan Arnold C/C++/CBuilder Keen Advice:
http://www.keen.com/categories/categorylist_expand.asp?sid=5156620
Comprehensive C++Builder link site:
http://www.buddydog.org/C++Builder/c++builder.html
|
|
|
| Back to top |
|
 |
dcent Guest
|
Posted: Wed Sep 10, 2003 1:56 am Post subject: Re: final EXE icon - having trouble |
|
|
Project | Options...
Application Tab / Load Icon
dcent
Blake Young wrote:
| Quote: | I am using C++Builder 3.0 Professional and I'm creating a little FTP wizard
for which I have created my own icon. I have been able to successfully add
my custom to icon to the main form (Form1), but I can't seem to make my
final EXE have that icon. I went to Project->Options, clicked on the
Application tab, and then selected my custom icon for the Application
Settings, but it still won't work. The icon always ends up being the
default C++ builder icon (you know, the one with the buildings). Any help
is appreciated. Thanks.
|
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Wed Sep 10, 2003 3:38 am Post subject: Re: final EXE icon - having trouble |
|
|
"dcent" <DcentJ8 (AT) NetScape (DOT) net> wrote
| Quote: | Project | Options...
Application Tab / Load Icon
|
Just in case you didn't actually read the first message, Blake already did
that, it didn't work for him.
Gambit
|
|
| Back to top |
|
 |
Duane Hebert Guest
|
Posted: Wed Sep 10, 2003 2:31 pm Post subject: Re: final EXE icon - having trouble |
|
|
"Jonathan Arnold" <jdarnold (AT) buddydog (DOT) org> wrote
| Quote: | I am using C++Builder 3.0 Professional and I'm creating a little FTP
wizard
for which I have created my own icon. I have been able to successfully
add
my custom to icon to the main form (Form1), but I can't seem to make my
final EXE have that icon. I went to Project->Options, clicked on the
Application tab, and then selected my custom icon for the Application
Settings, but it still won't work. The icon always ends up being the
default C++ builder icon (you know, the one with the buildings). Any
help
is appreciated. Thanks.
Often this is because you have added a .rc or .res file to your project
that has the name "projectname.rc/res". The IDE uses projectname.res to
store the icon in it, and they will take turns stomping on each other.
|
Normally when I have this problem, I go to project|remove from project. I
find the listing for
projectname.res and remove it. The thing is, I never create a resource file
with the project name
because I know this will happen. So Jonathon's advice is correct and
usually works.
But Builder (I think) generates a resource file with the project name. It
seems that this either
incorrectly gets put into the project or the file is somehow corrupted but
in any case, just removing
it from the project seems to solve the problem.
I also think that there was some link to the version info being enabled but
I don't use this feature.
|
|
| Back to top |
|
 |
Joro Guest
|
Posted: Fri Sep 19, 2003 10:15 am Post subject: Re: final EXE icon - having trouble |
|
|
I had the same problem on BCB5. The problem was with the components from the
samples palette. Some of them like CGauge linked the delphi torch icon. When
I removed the component and corresponding #pragma link directive everything
was ok.
Joro
|
|
| 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
|
|