Icon Routines
Updated Monday December 26, 2011
   
Category
Topic
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.



Icon Extraction
vb6
vb5
vb4-32
ExtractIcon: Retrieving and Viewing Application Icons
Look into exe's and dll's to see the icons they contain. May 1.2000

ExtractIcon: Viewing Application Icons in a Scrollable Viewport
Grab a folder of files, icon count within each file, the display name for the file, and view all the file's icons in a scrollable viewport. May 1.2000



   
   
   
   
   

 

 
 

PayPal Link
Make payments with PayPal - it's fast, free and secure!

 
 
 
 

Copyright ©1996-2011 VBnet and Randy Birch. All Rights Reserved.
Terms of Use  |  Your Privacy

 

Hit Counter