Extract Default Icon for a Given File Extension

Category:
Screen/Graphics
Type:
Classes
Difficulty:
Intermediate
Author:
Soumya Sengupta

Version Compatibility: Visual Basic 6

More information:
Here is a class that exposes a function that accepts a file extension, (e.g *.doc), and a picturebox device context handle, and displays the icon on the picture box. This is very useful when making FTP utilities, or other File handling utilities like Zip utilities and so forth. A sample application is also included. Please email any comments or bugs.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download icohunt.zip