Solved

Extracting Assosiated Fileicons

Posted on 1997-05-26
2
150 Views
Last Modified: 2010-04-04
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.
0
Comment
Question by:Rakaz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
sperling earned 100 total points
ID: 1336597
Look up ExtractIconEx. This seems to give you both large and small icons. If you need sample code, leave me a comment.

Regards,

Erik.
0
 

Author Comment

by:Rakaz
ID: 1336598
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
0

Featured Post

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question