Stock icon

Can someone please give me some code for putting the icon that is associated with an unknown file extension into an imagelist?

Many thanks.

I have looked everywhere for it.
LVL 4
broadbentAsked:
Who is Participating?
 
Bob LearnedCommented:
You are correct.  It is at %SystemRoot%\system32\SHELL32.dll for Windows XP.

Bob
0
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
The project here will show you how to do everything and anything you ever wanted to know about how to make a "windows explorer" type interface...including how to extract default icons (drives, folders, etc.) and icons associated with a given extension.

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=2224&lngWId=10
0
 
broadbentAuthor Commented:
I assume that shell.dll (index = 0) contains this icon?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.