The Topic is this:
New Icons for Vista (http://www.rw-designer.com/compile-vista-icon)
Windows Vista icons contain a high resolution 256x256 pixels images. These images are used exclusively by Vista and they are stored using PNG-based compression. Explorer dynamically resamples them to required resolution.
Our resource compiler refuses to accept them and aborts with:
"error RC2176 : old DIB in VistaIcon.ico; pass it through SDKPAINT".
Now there is a new resource compiler available but to get hands on it you need the SDK.
This: http://www.microsoft.com/downloads/details.aspx?FamilyID=53f9cbb4-b4af-4cf2-bfe5-260cfb90f7c3&DisplayLang=en
Where can we get the new resource compiler, to be able to compile resource files compatible with actual Vista or WIndows 7 ?
More about Vista Icons ... (http://blog.gamecraft.org/2007/02/vista-program-icons)
Hi all. I know this is an old post but its content is quite actual I think.
How we can use Windows 7 application icons in PB programs?
Even in PB10 I get Theo same error.
Thanks a lot
Eros
PS: attached the icon I would like to add in my editor
If you are not using a PBR you can use:
#Resource Icon, 100, "d:\App004.ico"
It instantly showed as my icon in my forms (PwrDev feature) so it's normally embedded.
The new resource compiler is available at:
http://support.microsoft.com/kb/949408/en-us
And Patrice posted an ever newer version in reply #6 of this thread:
http://www.jose.it-berater.org/smfforum/index.php?topic=3429.0
Perfect, Patrice version posted in the post did the work.
Many thanks
FWIW I use Jeremy Gordon's resource compiler.
http://www.godevtool.com/Gorcjorg.zip
James
Just to complete the Info here.
PB 10 can compile all Icons with the builtin Resource compiler.
Therefore do NOT use ".rc" files anymore but use the RESOURCE commands that are directly in the ".bas" file.
This way the builtin Resource compiler is used and anything should work fine.
Quote
Therefore do NOT use ".rc" files anymore but use the RESOURCE commands that are directly in the ".bas" file
Unfortunately, *.rc files are still needed, because there are some important things that the #Resource commands
cannot handle.
What exactly is taht, Dominic?
Maybe you can report these for future improvements?
Did you try, if both (".rc") and internal recourcecompiler can be used together?