>>I am building a grid which displays files, and I like to display the Icon for each data type, depending on the setting in Windows which program is set as default program for the extension. So the PDF file could be linked to Adobe PDF Reader or Edge. I wonder if there is a way to get this Icon resource from a Windows api or another way?
>
>Hi Christian,
>
>See if this code is helpful. It's from News2news.com, and the programmer is Anatoliy Mogylevets. Originally you had to pay for this code, but Anatoliy has been extremely kind, and he has donated his huge API code base to everyone who wants to use it. At the moment he is preparing his material since it is stored in a custom format. Within a few weeks it will be a separate project at
https://github.com/VFPX.
>
That is great! Thanks a lot, it is exactly what I can use. Really nice of him to share his code.
Christian Isberner
Software Consultant