Shows you how to to use SHGetfileInfo in a multithreaded environment and why a backgroundworker will not get all the icons. MTA threads do not get all icons. See fileicons.docx. Contains a component that gets the icons with an STA thread and then fires an event when done. WARNING: The event is fired on the new thread. Use control.invoke to run the event handler code on the form's thread.

Last edited Dec 16, 2008 at 3:28 PM by vbjay, version 2