Capture Icons

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello all
i want to know how to capture the icon of a file or folder , or at least
create shortcut icon for it , and then use it in my application
thx all
 
The easiest way to get an icon for any file/folder in the system is to
use the ShGetFileInfo API function through the P/Invoke layer. You can find
the declaration for this at http://www.pinvoke.net

Hope this helps.
 
Back
Top