| View previous topic :: View next topic |
| Author |
Message |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Sat Feb 19, 2005 3:00 pm Post subject: Change icon of an exe |
|
|
Is there a free dll or DSU that can change the icon of an exe file? The reason I ask is I have clients that want to brand their software and I don't want to have to recompile a new exe for each one. I just and to change the icon of the exe and send it to them, and allow them to change it as well.
Thanks _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
ShinobiSoft Professional Member


Joined: 06 Nov 2002 Posts: 790 Location: Knoxville, Tn
|
Posted: Sat Feb 19, 2005 3:05 pm Post subject: |
|
|
Isn't there a vdsico.dll for this? _________________ Bill Weckel
ShinobiSoft Software
"The way is known to all, but not all know it." |
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Sat Feb 19, 2005 3:10 pm Post subject: |
|
|
Yes, but it only works for 16 color icons. I need it to be able to change from/to at least a 256 color icon. _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
ShinobiSoft Professional Member


Joined: 06 Nov 2002 Posts: 790 Location: Knoxville, Tn
|
Posted: Sat Feb 19, 2005 4:47 pm Post subject: |
|
|
THere are some resource API calls that can be used, but the replacement
icons must be compiled into the special resource format before they can
be replaced within an executable.
APIs::
BeginUpdateResource()
UpdateResource()
EndUpdateResource()
The above are just for starters, there are other API calls that need to be
made as well. _________________ Bill Weckel
ShinobiSoft Software
"The way is known to all, but not all know it." |
|
| Back to top |
|
 |
ShinobiSoft Professional Member


Joined: 06 Nov 2002 Posts: 790 Location: Knoxville, Tn
|
Posted: Sat Feb 19, 2005 4:58 pm Post subject: |
|
|
I'll tell ya what Chris. Give me a day or so, and I'll have a proggy that will
take care of changing and .exes icon posted and available for donwload. _________________ Bill Weckel
ShinobiSoft Software
"The way is known to all, but not all know it." |
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Sat Feb 19, 2005 6:55 pm Post subject: |
|
|
Will I be able to change the icons of other exe's not just VDS exe files? I have other programs that are not made with VDS that need the icon changed as well. That would be great! Thanks. _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Sat Feb 19, 2005 7:53 pm Post subject: |
|
|
I also neet it to be command line driven. I'd like to use it from within a VDS program. Thanks _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Sat Feb 19, 2005 8:56 pm Post subject: |
|
|
I need to use it within a VDS app. so I can't do that. But, reshack works great though.
Thanks _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
ShinobiSoft Professional Member


Joined: 06 Nov 2002 Posts: 790 Location: Knoxville, Tn
|
Posted: Sat Feb 19, 2005 9:08 pm Post subject: |
|
|
| LiquidCode wrote: | | Will I be able to change the icons of other exe's not just VDS exe files? I have other programs that are not made with VDS that need the icon changed as well. That would be great! Thanks. |
You got it Chris. Not a problem at all.
You're next post asks about command-line driven. I was having trouble
choosing between a Windows GUI or a Console app. Since you want or
need it to be command-line driven, I guess I'll make a Console app. This
interface will be easier to program anyways.  _________________ Bill Weckel
ShinobiSoft Software
"The way is known to all, but not all know it." |
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
|
| Back to top |
|
 |
ShinobiSoft Professional Member


Joined: 06 Nov 2002 Posts: 790 Location: Knoxville, Tn
|
Posted: Sat Feb 19, 2005 10:02 pm Post subject: |
|
|
One other note about the Resource APIs ->
They can be used to copy from one executable into another. Meaning that
you can swap resources between executables (*.exe;*.dll; couple others).
I do think that this can be done with VDS 5. However, adding new
resources to an executable without recompiling the executable need to be
formatted in a special format before it can be added to an executable.
Reshack.exe does accept command-line parameters. Read the docs  _________________ Bill Weckel
ShinobiSoft Software
"The way is known to all, but not all know it." |
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Sat Feb 19, 2005 10:41 pm Post subject: |
|
|
Yeah it does, but I can't very well send an application like that just to change an icon.
Can you make it so this app can use a BMP file for the icon? There is a DLL that can convert BMP to ico but it would be nice not to have to add another dll file if I don't need to. Making a BMP file is easier then having to find special software to create icon file, just fire up MSPaint. Is that asking too much?
Oops. no there isn't dll to do that. It to convert an ICON to a BMP not the other wat around. So if you can add, that that would be very cool.  _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
ShinobiSoft Professional Member


Joined: 06 Nov 2002 Posts: 790 Location: Knoxville, Tn
|
Posted: Sun Feb 20, 2005 12:48 am Post subject: |
|
|
Hi Chris,
No problem adding the BITMAP conversion feature, but this might take a
wee bit longer than I first thought. Just a couple days, then maybe not. I
just don't want to get your hopes up that it'll be done tomorrow and me
run into some unforseen difficulty.
BTW, my previous post was for information purposes only. I wasn't
suggesting that you write some kind of interface for ResHack.exe. _________________ Bill Weckel
ShinobiSoft Software
"The way is known to all, but not all know it." |
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Sun Feb 20, 2005 1:02 am Post subject: |
|
|
Ok. Very Very cool. No prob. Thanks a bunch! _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
|