forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Change icon of an exe
Goto page 1, 2  Next
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Sat Feb 19, 2005 3:00 pm    Post subject: Change icon of an exe Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Sat Feb 19, 2005 3:05 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Sat Feb 19, 2005 3:10 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Sat Feb 19, 2005 4:47 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Sat Feb 19, 2005 4:58 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Sat Feb 19, 2005 6:55 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Sat Feb 19, 2005 7:53 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Sat Feb 19, 2005 8:36 pm    Post subject: Reply with quote

You can try to use the program "Resource Hacker" or "Reshacker" to unload the icon and to replace it with another one... Smile I don't know the exact download location, but I guess Google can help you with that... Smile
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Sat Feb 19, 2005 8:56 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Sat Feb 19, 2005 9:08 pm    Post subject: Reply with quote

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. Wink Not a problem at all. Smile

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. Smile

_________________
Bill Weckel
ShinobiSoft Software

"The way is known to all, but not all know it."
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Sat Feb 19, 2005 9:10 pm    Post subject: Reply with quote

Great! Thanks a lot!
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Sat Feb 19, 2005 10:02 pm    Post subject: Reply with quote

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 Smile

_________________
Bill Weckel
ShinobiSoft Software

"The way is known to all, but not all know it."
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Sat Feb 19, 2005 10:41 pm    Post subject: Reply with quote

Yeah it does, but I can't very well send an application like that just to change an icon. Wink

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? Rolling Eyes

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. Very Happy

_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Sun Feb 20, 2005 12:48 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Sun Feb 20, 2005 1:02 am    Post subject: Reply with quote

Ok. Very Very cool. No prob. Thanks a bunch!
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
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
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group