Selecting an icon

By Jim Pile, ITworld |  How-to

Reader Chris D. presents a request:

"I seem to recall a tip that explained how to select the icon in
a .DLL file to display if it had more than one icon contained in
it. Do you have a note on how to do this or is this just another
pipe dream?"

It's no pipe dream. To see how this works, run RegEdit and navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\giffile\DefaultIcon. Double-click
the Default icon to open the Edit String dialog box. In the dialog box,
you'll see a line very similar to the one shown here (from Windows


The 4 at the end of the line indicates that you are currently using the
fourth icon in the file PEicons.exe. Changing the 4 to a 3 and
restarting the computer will change the GIF icon.

However, this is not the best way to change an icon. Instead, open My
Computer and choose Tools and Folder Options. When the dialog box
opens, click the File Types tab. Now, type in gif quickly and you
should end up at GIF or very near anyway. With GIF selected, click
Advanced. When the Edit File Type dialog box opens, click Change Icon.
You can now choose a new icon by doubling clicking it. Now, click OK to
close the dialog box. Back in Folder Options, click Close.

Join us:






Answers - Powered by ITworld

Ask a Question