Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Display Windows icon for file extension
Message
From
12/01/2018 07:00:20
 
 
To
12/01/2018 06:42:54
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 10
Network:
Windows Server 2012
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01657149
Message ID:
01657151
Views:
58
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform