Page 1 of 1

Windows 10 program icons and document icons

Posted: Wed Mar 29, 2017 12:56 pm
by Martin Koob
Hi.

First time doing a windows App so I have a couple of probably easy questions. I just can't find the answer in the forums or in the LiveCode help documents.

I need a program icon and document icon for an application to run on Windows 10. But it may run on Windows 7 as well. Do they need to be in the same format so I only create 1 icon set or do I need two? What formats would that be, .ico? And Finally how to you include them in a LiveCode standalone?

I did find information on formats for Windows 10 and Windows 10 icons

Windows 10
https://docs.microsoft.com/en-us/window ... app-assets

Windows 7
https://www.creativefreedom.co.uk/icon- ... con-sizes/

Thanks for any help you can offer.

Thanks.

Martin Koob

Re: Windows 10 program icons and document icons

Posted: Wed Mar 29, 2017 1:54 pm
by AxWald
Hi,

I just scale a pict (in XnView, to slightly above 100 x100 px/ 32bit) & save it as ".ico".
When setting up the options for the StandAlone I enter the .ico there - done.

Works backwards until XP at least.

Have fun!

Re: Windows 10 program icons and document icons

Posted: Wed Mar 29, 2017 3:57 pm
by FourthWorld
I don't yet know if Win10 is as finicky as Win7, but you will want to make sure your .ico file contains all required sizes. I've seen cases where making an alias of an app, such as we see in the Start menu, rely on a specific size within the .ico, and if absent rather than scaling from the nearest match it just displays a generic app icon. Ugh. Not sure why they do that, but apparently they do, and as long as your .ico includes all required sizes you should be fine.

If you find special requirements for Win10 that are not backwardly compatible with the requirements for Win7, please note them here. Thanks.

Re: Windows 10 program icons and document icons

Posted: Wed Mar 29, 2017 6:01 pm
by AxWald
Hi Richard,

I never had any problems with Win Icons, and I don't even know how & in what sizes the pictures end in the .ico file ;-)

Usually I throw 'em together as a large picture in MS Expression Design (comes for free), and export as PNG.
This I scale & save as .ico in XnView, my universal viewer/converter, now it's somewhat above 100x100 px @ 32bit. Filesize ~ 50kB.

Works in XP, 7, 10, Server 2003 R2. In Explorer, Desktop, Start Menu, task bar, as alias, wherever, everywhere.
(Have to mention I'm a coder & no "designer", so I don't do this too often ...)

Have fun!

Re: Windows 10 program icons and document icons

Posted: Wed Mar 29, 2017 7:55 pm
by FourthWorld
Does the right icon show when displayed using an alias in the Start menu? If the alias works there I wonder if the app you're using is creating the required sizes for you.