Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hide in your shell.dll
Message
From
10/03/2022 13:23:07
 
 
To
09/03/2022 12:17:37
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01683786
Message ID:
01683799
Views:
53
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform