Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you get the icons out of shell32.dll?

Tags:

windows

icons

I'd like to get the Tree icon to use for a homegrown app. Does anyone know how to extract the images out as .icon files? I'd like both the 16x16 and 32x32, or I'd just do a screen capture.

like image 752
Jay Mooney Avatar asked Aug 12 '08 03:08

Jay Mooney


People also ask

How do I extract icons?

Right-click the EXE file for the software you want to extract an icon from and select Properties. Click the Icons tab shown directly below. Select an icon to extract there.

How are icons stored in DLL?

Till Windows XP, most icons are stored in the shell32. dll . Some Explorer related Icons are indeed stored in the Explorer.exe . Since Windwos Vista, the icons are stored in imageres.

How do I edit shell32 DLL?

First make a copy of shell32. dll, and import it into Microangelo Librarian. Then edit any existing shell32 icons into whatever you want, save, exit, and replace the real shell32. dll with your modified copy.


2 Answers

If anyone is seeking an easy way, just use 7zip to unzip the shell32.dll and look for the folder .src/ICON/

like image 182
AQN Avatar answered Sep 28 '22 04:09

AQN


In Visual Studio, choose "File Open..." then "File...". Then pick the Shell32.dll. A folder tree should be opened, and you will find the icons in the "Icon" folder.

To save an Icon, you can right-click on the icon in the folder tree and choose "Export".

like image 22
jm. Avatar answered Sep 28 '22 04:09

jm.