By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,968 Members | 1,588 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,968 IT Pros & Developers. It's quick & easy.

Icons for registered filetypes

P: n/a
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 the
associated icon for those filetypes.

Thanks for any help,
Jakob Bengtsson
Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi Jeffrey,

This was just what I was looking for. Thanks alot!

Regards,
Jakob Bengtsson
-----Original Message-----

Hi Jakob,

You can get the icons in certain file by ExtractAssociatedIcon() function.To get the icon associated with certain file type you should query theregistry.
For more information, you can refer to the link below:
http://msdn.microsoft.com/msdnmag/is...00/c/default.a spx
Hope this helps.
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
--------------------
| Content-Class: urn:content-classes:message
| From: "Jakob Bengtsson" <j.*********@email.dk>
| Sender: "Jakob Bengtsson" <j.*********@email.dk>
| Subject: Icons for registered filetypes
| Date: Fri, 22 Aug 2003 01:27:25 -0700
| Lines: 11
| Message-ID: <09****************************@phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Thread-Index: AcNohzco60YJ6N4HQiOQDqZw5mv5bg==
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300| Newsgroups: microsoft.public.dotnet.general
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:105551| NNTP-Posting-Host: TK2MSFTNGXA11 10.40.1.163
| X-Tomcat-NG: microsoft.public.dotnet.general
|
| 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 the
| associated icon for those filetypes.
|
| Thanks for any help,
| Jakob Bengtsson
|

.

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.