473,396 Members | 2,011 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Best way to find the Icons associated with a given File Extension?

Hi,

I need to find the Icons associated with a given file extension. I guess there
are registry entries for that. Is there a generic way of getting them?

Thanks a lot in advance,

Matthias
Nov 16 '05 #1
2 2148
See: HOW TO: Use the SHGetFileInfo Function to Get the Icons That Are
Associated with Files in Visual C# .NET
http://support.microsoft.com/?kbid=319350

--
Scott
http://www.OdeToCode.com/

On Sat, 09 Oct 2004 14:11:26 +0200, "Matthias S."
<po*****@emvoidSPAMTRAP.de> wrote:
Hi,

I need to find the Icons associated with a given file extension. I guess there
are registry entries for that. Is there a generic way of getting them?

Thanks a lot in advance,

Matthias


Nov 16 '05 #2
Hey Scott,

exactly what I was looking for. Thanks a ton.

Regards,

Matthias

Scott Allen wrote:
See: HOW TO: Use the SHGetFileInfo Function to Get the Icons That Are
Associated with Files in Visual C# .NET
http://support.microsoft.com/?kbid=319350

--
Scott
http://www.OdeToCode.com/

On Sat, 09 Oct 2004 14:11:26 +0200, "Matthias S."
<po*****@emvoidSPAMTRAP.de> wrote:

Hi,

I need to find the Icons associated with a given file extension. I guess there
are registry entries for that. Is there a generic way of getting them?

Thanks a lot in advance,

Matthias


Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Garet Cammer | last post by:
I am writing a VB 6.0 program similar to Windows Explorer, which has a tree view and a list view to select directories and files. I would like to associate an icon with each file, according to the...
1
by: Jakob Bengtsson | last post by:
Hi, Does anyone know how to get the icons for all filetypes installed on the system? I can extract the associated icon from a file, but I don't know how to: 1) Get a list of filetypes; 2) Get...
1
by: moquet.laurence | last post by:
In the registry, File extension's icons are stored like this : filename,resource_number. How can I extract the specific resource number from this file (using .Net framework)?
1
by: Víctor | last post by:
I'm doing a kind of file explorer with some additional funcionalities. The problem is that I'm not able to draw file extension icons in a ListView. I know how obtain icons, but when I try to draw...
7
by: Shane Story | last post by:
I want to be able to get the icon associated with a certain file extension. I can read the registry hkey_classes to get the ext. then look to the other key for default icon. How can I then...
1
by: Progalex | last post by:
Hi guys.. How can I obtain the associated icon for each file extension registered on my machine via Visual Basic 2005 code? Many thanks.. Alessandro
2
by: SharpCoderMP | last post by:
i'm trying to embed multiple program icons in my executable. the only way so far i managed to do that is to embed native win32 resource file with multiple icons. it works, but... when i create a...
6
by: Mike | last post by:
Hi, I am developing a document management system in MS Access (adp on top of SQL Server). One thing I would like to do in my listview is show the default icon associated in Windows with that...
3
by: cal | last post by:
Hi group, Wich one is the class to handle desktop icons? I want to modify for example the file path the Icon points to. of course, its the path of the file u open when u doubleclick the icon. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.