Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Display Windows icon for file extension
Message
De
12/01/2018 07:19:32
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 10
Network:
Windows Server 2012
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01657149
Message ID:
01657152
Vues:
60
>>>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.


Yes, it was a huge surprise that he was willing to share it. And not only willing, he was actually very happy to give it away.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform