AssociatedIcons

Hello,


I am coding an Explorer-style file browser in VB5. I have written a library to get the icon associated with an application using Win32 API calls to read the registry, which works fine. The problem is, it is slow. Each time a file is encountered, the library must open the EXE, DLL, or ICO associated with that file's extension. I have considered caching the icon data as it comes in, but I realize that Windows already does that for me in ShellIconCache.


My question is this: Does anyone know how to extract icon data out of ShellIconCache? I could probably take that time to dissect it myself, but who has that much time? :-)


Any C or VB code or any links to internet resources on how to find this information would be EXTREMELY appreciated.


Frank Pelliccio

fpelliccio@internova.com


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories