>>Hi All,
>>
>>How can I customize the folder icon in Windows explorer to replace it with my app's icon?
>>I suspect it's through shell.dll, but I don't know for sure.
>>Thanks.
>>
>>Luke
>>
>>P.S. I'm with Dmitry. I've had it up to here with technology. When the last customer stops paying for support, I'll turn off the lights and walk away.
>
>In the folder you like to change the icon, place a file desktop.ini looking like:
>
>[.ShellClassInfo]
>IconResource=Path-to-your-icon file,0
>[ViewState]
>Mode=
>Vid=
>FolderType=Generic
>
>If you point to an exe, check the number.
>
>In general, make hidden files visible, change the icon using the browsers property (ALT+Enter on the folder, last page, no idea how it is named in English), change icon to something (could be an exes resource too) and check the desktop.ini file for change.
>
>Thanks Lutz. That worked. It worked better with the .exe. than the .ico.
>
>Luke
In general icon is better. You might need a multi layer icon with many sizes, so it works for the various way the explorer shows it. I can't remember the definitions, but google should solve this. gimp to create the ico files.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]