File Association
vb6
vb5
vb4-32 |
SHGetFileInfo: Extracting a 16x16 Associated Icon
Code to retrieve the small (16x16) system icon associated with a given application using SHGetFileInfo. If the application does not have
an icon associated with it, the default Windows unknown icon will be returned.
SHGetFileInfo: Extracting 16x16 and 32x32 Associated Icons
Code to retrieve the small (16x16) and large (32x32) system icons associated with a given application using SHGetFileInfo. If the
application does not have an icon associated with it, the default Windows unknown icon will be returned.
SHGetFileInfo: Extracting Associated Icons for a StatusBar
Building upon the article SHGetFileInfo: Extracting 16x16 and 32x32 Associated Icons above, this code assigns the small
icon to an ImageList dynamically, and uses that to display inside a status bar panel. |