May 03, 2024, 09:29:09 PM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


VISTA icon problem

Started by Junner2003, August 07, 2007, 11:36:08 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Junner2003

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?

Brice Manuel

Use resource hacker to change the icon?

Junner2003

Yeah,
thought of that too and tried already! In some cases some of my programs were identified as virus by AVG afterwards ... :(

Brice Manuel


Junner2003

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

Brice Manuel

Are you sure you are saving the 256x256 icon as a PNG?

Junner2003

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 ...  :)

Brice Manuel

Dunno anything more to help as I don't own Vista and I refuse to officially support it.

Junner2003

August 07, 2007, 12:32:39 PM #8 Last Edit: August 07, 2007, 12:37:22 PM by Junner2003
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 ... !

Ionic Wind Support Team

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.
Ionic Wind Support Team

Junner2003

Thanks Paul!

Will try that soon and post the results here ... ! ;)
Dam, why didn't I think of that?  ::)

Blue Steel

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
  http://www.codingmonkeys.com
Covers many languages including Aurora , IWBasicEbasic (Ebasic, IBasic) , Creative Basic

Junner2003

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.  ;)

Junner2003

ok,
Paul's suggestion did the trick! Thanks! Works like a charme now!  ;)

Brice Manuel