Getting icons of registered extensions
-
:confused: Hi all, I have a tree view where i show different files present in a system. I have to display icon of corresponding file type when i'm adding a file to the tree. One way to do it to add the icons in image list and the check for the extension and show corresponding icon. But in this case it's very much possible taht I leave many icons associated with file extensions. I want to know the registered icon of a corresponding file type at run time. How can I do that. Thanks in advance. Kumar Saurabh
-
:confused: Hi all, I have a tree view where i show different files present in a system. I have to display icon of corresponding file type when i'm adding a file to the tree. One way to do it to add the icons in image list and the check for the extension and show corresponding icon. But in this case it's very much possible taht I leave many icons associated with file extensions. I want to know the registered icon of a corresponding file type at run time. How can I do that. Thanks in advance. Kumar Saurabh
How to use the SHGetFileInfo function to get the icons that are associated with files in Visual Basic .NET http://support.microsoft.com/default.aspx?scid=kb;en-us;319340