Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Retrieval of icons associated with files/applications
Message
De
14/08/2001 09:37:24
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00542621
Message ID:
00543471
Vues:
18
>It represents a zero based offset of the icon in the actual executable. An executable or dynamic link library can contain multiple icons. This little code snippet, demonstrates how to find out how many icons are in a particular EXE or DLL
DECLARE INTEGER ExtractIcon IN Shell32;
>  INTEGER hInst, STRING @lpszExeFileName,;
>  INTEGER nIconIndex
>lcfile = "C:\Program Files\Microsoft Office\Office\Winword.exe"
>? ExtractIcon(0, @lcfile, -1)
George,

Very cool. I understand a bit more of this stuff each time I ask you something... Thanks!

Renoir
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform