Code/Tea/Etc...

Duncan Mackenzie has too much time on his hands

Retrieving File Icons for specific file types

I just uploaded a new sample to microsoft.com, pulling some useful code out of another MSDN sample that was so unrelated that I figured that this little bit of interesting code would never be found. This code sample shows how to retrieve the icon for any given file type and it does it through a pretty cool component that exposes 2 ImageLists to make it easy to use with a ListView or TreeView.

http://microsoft.com/downloads/details.aspx?FamilyId=E1812484-A540-447D-93F9-D7A0D0ADA52D&displaylang=en

That link might not be live for a little bit while it replicates out to the download servers, but the code is available at;

http://download.microsoft.com/download/a/c/5/ac51af30-44c3-43cd-8ffb-0714188a590b/FileIconsSetup.msi

 

Published Wednesday, July 02, 2003 4:02 PM by Duncanma

Comments

 

TrackBack said:

Robert McLaws
July 2, 2003 4:02 PM
Anonymous comments are disabled

This Blog

Syndication

News

This blog has moved to my own VB site

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker