Hello Anders
On 03-Apr-03, Anders W�hlin (GIS) wrote:
> Hi!
>
> How can I get the icon for a specific extension? For example ".doc". I
> don't have the file name, so I can't use SHGetFileInfo(...). I could
> create a dummy file with the extension and then call SHGetFileInfo, but
> there has to be another way?
You can use the solution Jason just supplied to me for a different problem
and look in HKEY_CLASSES_ROOT under the extension. It has the file
name there.
Jack
--
E-Mail: [EMAIL PROTECTED]
Home: http://home.twmi.rr.com/jyorktw
