Insert Icon into B+ exe?

BlitzPlus Forums/BlitzPlus Programming/Insert Icon into B+ exe?

Grisu(Posted 2004) [#1]
Hi!

Has anyone ever written a Blitz program (B+, B3D) that inserts a given icon into a Blitz executable?

P.S.: No, I no longer want to use Resource Hacker for this!


Phil Newton(Posted 2004) [#2]
The utility UpdateResource (http://www.miharemec.com/tools.html) can be used to add icons via the command line. It can also do other nifty things, like add version info. I haven't used it, but it's the follow up to something called "ReplaceIcon" that I use.

At least it's command line so you can just write a .bat file to do the work for you.


Grisu(Posted 2004) [#3]
Ty... Ty :)
Will test it out.

Hopefully BlitzMax PC is going to have an exe icon.
Can't understand what's so difficult in adding at least one default icon...


Grisu(Posted 2004) [#4]
Well, it seems as this program only exchanges Icons in INNO SETUP files... :(

Any other ideas or freeware programs?


Phil Newton(Posted 2004) [#5]
I'll upload ReplaceIcon later with an example of how to use it :)


Grisu(Posted 2004) [#6]
oki doki *waiting and drinking coffee*


Phil Newton(Posted 2004) [#7]
ReplaceIcon

There's a short example in there too. ReplaceIcon only works on NT machines (Win2K and XP included). Icon shows on all win operating systems though.


Grisu(Posted 2004) [#8]
works perfect... ty ty... again :)