473,394 Members | 1,841 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,394 software developers and data experts.

Icons for registered filetypes

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
1 1816
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Justin Straube | last post by:
Hopefully someone can catch what im missing here. Ive googled this and I think Ive got the filetypes arg written properly, but I get a traceback when calling this function. Heres the code...
2
by: Gwyn | last post by:
Howdy. In my vb.net application I want to populate a listview with a list of files but I also want to show the icon for those files according to the registered file types on the user's computer,...
0
by: Markus Minichmayr | last post by:
Hi NG! I want to add multiple Icons to my windows-application (assembly), so that they are visible to Windows and I can associate them with different filetypes. Until now, I only found out how...
1
by: Daniel | last post by:
streaming random filetypes from .aspx how to stream a file from inside a .aspx? e.g. so one could go href="./foo.aspx?file=bar.mp3" or href="./foo.aspx?foo.dat" etc. preferabley i would like...
3
by: Ron Vecchi | last post by:
I'm trying to get a list of all file icons registered to file extensions located on the machine. I would like to beable to loop through all icons and save the images in a seperate directory named...
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...
2
by: Brandon | last post by:
Running IIS 6, Classic ASP Browser: IE and/or Mozilla I have an application that allows users to store documents on my server. When they need to access/download the documents, my application...
0
by: Stuman | last post by:
>From a previous message that I am unable to reply to, here it is again From: Steve Podradchik - view profile Date: Wed, Mar 5 2003 4:29 am Email: "Steve Podradchik"...
4
by: TEK | last post by:
Hello I want to add several icons to my dll, so that it can be used by windows to indicate icons for my known filetypes. I'm using VS2005, but I cannot seem to find out how to do this. I can...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.