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.
Who is Participating?
Bob LearnedCommented:
You are correct.  It is at %SystemRoot%\system32\SHELL32.dll for Windows XP.

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.
broadbentAuthor Commented:
I assume that shell.dll (index = 0) contains this icon?
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.