>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