vbpslogo2.gif (19593 bytes)
Brad's VB-32 Programs & Samples

Posted: 06/22/97, last update: 06/22/97

Home

A complete demonstration of the SHGetFileInfo function

This example shows the myriad of information that can be obtained about files and folders with the SHGetFileInfo function. Some of this information includes the associated small and large shell icons in a variety of states (normal, selected, shortcut overlay), the associated typename (Explorer description), if a file is an executable, it's target platform and version, and other numerous file system attributes.

The example also shows subtle caveats that can be avoided when obtaining certain file information.

Download shfinfo.zip (15kb)