Now, VISTA is dealing with all that up to 256x256 icon size stuff whichis really neat in some aspects (icon zooming on the desktop, hyper-size icons in folders, etc. ...)! Does anybody know of a trick how to compile them with my program?
My solution for now, is, to add a seperate ico file to the program files and link shortcuts to that one instead to the exe-icon - not really elegant, is it?
Use resource hacker to change the icon?
Yeah,
thought of that too and tried already! In some cases some of my programs were identified as virus by AVG afterwards ... :(
http://www.axialis.com/tutorials/tutorial-vistaicons.html
Perhaps something there will help?
I crossed that site as well already while researching my problem! :)
That seems to be a great ICON EDITOR but in te end it only creates an icon for you. While adding the icon to my EB executable my icon gets stripped down to a standard size again ...
Are you sure you are saving the 256x256 icon as a PNG?
Yes, I am sure!
It works fine with VS2005. If I add the same icon to an application there it keeps even the supersized VISTA compatible ones. If I use the icon on an EB compiled program it has only the standard sizes ... it is not a big deal, my icons still look neat even if they do not zoom under VISTA! There are even commecial companies out there who did not get it working! As example NORTON AntiVirus! ... It just would have been nice ... :)
Dunno anything more to help as I don't own Vista and I refuse to officially support it.
Thanks anyway!
You were vey helpful - except that I've researched already before posting! :) So, I came accross that AXIALIS and also tried reshack ... ;)
Like I said: not a big deal! I can live without that and in case someone really wants that I can add a seperate ico file to my program ... !
Create a project, add the icon as a resource with and ID of 101, and that is your main programs icon.
I don't have Vista on any of my machines so can't verify it. And I won't have Vista on any of my machines anytime soon ;)
Paul.
Thanks Paul!
Will try that soon and post the results here ... ! ;)
Dam, why didn't I think of that? ::)
here are 3 links i've found on the subject
http://www.rw-designer.com/compile-vista-icon
http://www.codeproject.com/gdi/using_vista_icons.asp
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=446984&SiteID=1
hope there's something useful there
I found them by doing a google search for
Quote
how to compile vista icons in program
Thanks for the links! :)
Looks like Microsoft fixed that problem with VS2005 SP1. At least it works on mine ...
I will try tonight to simply add the ico file as resource as Paul suggested. I think that is going to work. ;)
ok,
Paul's suggestion did the trick! Thanks! Works like a charme now! ;)
Thank you for the update.