Link to home
Start Free TrialLog in
Avatar of Rakaz
Rakaz

asked on

Extracting Assosiated Fileicons

I like to get the icon for a certain file.I use the following code to get the large icon.>TLargeIcon.Handle := ExtractAssociatedIcon (hInstance, >IconPath, IconIndex);
          My Question:How do i get the small icon for use in a ListView component.
ASKER CERTIFIED SOLUTION
Avatar of sperling
sperling

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Rakaz
Rakaz

ASKER

Okay, this seem to extract a small icon, but now i don't know where to extract it from. The ExtractAssociatedIcon function works fine when it comes to extracting an icon, but it doesn't return the path of the associated application or dll (it should according to the win32 api).Please help