Try this API call: ExtractAssociatedIcon
--
Guy Barrette
Montreal VB User Group www.gvbm.org
(Remove the trailing --- to get my real email address)
Quote:
>Does anyone have a sample of how to get the default icon for a file type?
>eg, getting from the registry the icon for a file type, ie for a bmp, get
>the mspaint icon, and then put it in an image in a vb program? Any help?
>Thanks.