adding an icon

BlitzMax Forums/BlitzMax Programming/adding an icon

D4NM4N(Posted 2006) [#1]
i cant seem to see or replace any resources in the exe file. I use reshacker normaly for b3d exes.

Anyone know how i do it?


Eikon(Posted 2006) [#2]
In reshacker:

File > Open EXE
Action > Add a new resource
Open file... > Select .ico
Resource Name: ICON > Add Resource
File > Save


Grey Alien(Posted 2006) [#3]
Two essential guides:

http://homepage.ntlworld.com/config/max/appiconguide.htm

http://www.blitzbasic.com/codearcs/codearcs.php?code=1841


Fabian.(Posted 2006) [#4]
if you save the resource as "101" it will be automatically used as the window icon.


Grey Alien(Posted 2006) [#5]
if you save the resource as "101" it will be automatically used as the window icon.
Using Jim Brown's tip, it is saved as 101, but it doesn't appear as the Window icon in BlitzMax, you need extra code.


D4NM4N(Posted 2006) [#6]
Thanks, i just got worried cos there was no resources in reshacker. I didnt know you could add them like that.