Page 1 of 1

How to select a custom icon from a file such as shell32.dll?

Posted: 26 Dec 2009 17:48
by TsunamiZ
Anyone know how to select a custom icon from a file such as shell32.dll? I want to use one of the icons in that file for a custom toolbar button.

Re: How to select a custom icon from a file such as shell32.dll?

Posted: 26 Dec 2009 19:54
by serendipity
TsunamiZ wrote:Anyone know how to select a custom icon from a file such as shell32.dll? I want to use one of the icons in that file for a custom toolbar button.
Yes, you can use for example like this:
C:\Windows\System32\shell32.dll /14
Where /14 is the icon number.

Re: How to select a custom icon from a file such as shell32.dll?

Posted: 27 Dec 2009 00:26
by TsunamiZ
but how do we know what number an icon is?

Re: How to select a custom icon from a file such as shell32.dll?

Posted: 27 Dec 2009 00:34
by serendipity
TsunamiZ wrote:but how do we know what number an icon is?
If you to "C:\Windows\System32\" and select the file "shell32.dll", in the IP's properties tab you can see icons by browsing through them. Or if you have any icon maker application you can open the file in that app and you can see all those icons and numbers. One such app is IcoFX (also portable): http://www.portablefreeware.com/index.php?id=1224

Re: How to select a custom icon from a file such as shell32.dll?

Posted: 27 Dec 2009 02:36
by TsunamiZ
thanks