Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get ICON from a DLL
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00190405
Message ID:
00190411
Views:
13
>Yet another API inquiry
>
>I am attempting to implement the same functionality as Windows Explorer where the icon associated with a file extension is displayed on the ListView panel (this is based on its registry setting). I have no problem extracting the values needed from the registry however, most DefaultIcon values are pointing to DLLs where an extry may look like this:
>
>c:\program files\microsoft visual studio\vfp98\vfp6.exe,-102
>
>
>Is there any way to retrieve the icon from that DLL so that I can then attach it to an ImageList control?
>
>
>Thank you

Hi Juan,

You can extract it, or rather a handle to it, and display it. I don't think that you can use it with the ImageList control.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform