Get shell icon from file extension

  • Thread starter Thread starter weixiang
  • Start date Start date
W

weixiang

Hi,

I am writing a program that have some filenames collected in a List View.
Then I need to display the correct icon for each of them according to the
extension of the file. In the document I found that I can use the
"Path.GetExtension()" to retrieve the extension of the file. But, how to
get the icon from the extension that display in windows explorer and show
that in List View?

Thanks in advance!!!

weixiang
 
Back
Top