[Gambas-user] File-Icon

Bruce Steers bsteers4 at gmail.com
Mon Mar 7 13:30:53 CET 2022


try gb.desktop and DesktopMime

DesktopMime.FromFile(sPath).GetIcon(iSize)

BruceS

On Mon, 7 Mar 2022 at 12:04, Hans Lehmann <hans at gambas-buch.de> wrote:

>
> Hello.
>
> n file names are stored in a string array. We are looking for a solution
> to determine the icon corresponding to the mime type (data type Picture)
> from the file name - or the file extension - and store it in an icon array.
>
> With kind regards
>
> Hans
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220307/d1d14ef4/attachment.htm>


More information about the User mailing list