Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Extracting Assosiated Fileicons

Posted on 1997-05-26
2
Medium Priority
?
157 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 200 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

660 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