Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hide in your shell.dll
Message
From
10/03/2022 13:27:43
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
10/03/2022 13:23:07
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01683786
Message ID:
01683800
Views:
35
>>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.

Off

There is no place like [::1]
Previous
Reply
Map
View

Click here to load this message in the networking platform