473,804 Members | 2,126 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1842
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 ExtractAssociat edIcon() 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.*********@em ail.dk>
| Sender: "Jakob Bengtsson" <j.*********@em ail.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: AcNohzco60YJ6N4 HQiOQDqZw5mv5bg ==
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300| Newsgroups: microsoft.publi c.dotnet.genera l
| Path: cpmsftngxa06.ph x.gbl
| Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.genera l:105551| NNTP-Posting-Host: TK2MSFTNGXA11 10.40.1.163
| X-Tomcat-NG: microsoft.publi c.dotnet.genera l
|
| 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
7827
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 followed by its traceback. def do_ask_fn_1(): z = askopenfilename(title=TITLE, initialdir=Dst_Dir, filetypes=(('AIFF Files','*.aiff'), ("AU Files", "*.au"),
2
352
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, e.g. if I list a file with a .doc extension I want a pretty Word icon next to it.... But how do I populate a listview with the required icons? Is there help in .NET to do this or do I need to search the registry? If so, where???!!!!
0
914
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 to add one single Icon, namely the Application Icon via the Project Properties page in VS.NET. Simply adding the icons to the solution as embedded ressource doesn't work, because they wouldn't be visible to windows in that case. Who can help? ...
1
1836
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 all file types to open with "save as" when href clicked
3
2178
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 after the extension they are mapped to. Should be no problem but I can't seem to find any information on finding a way to get a list of icons and extensions registered on the system. Thanks,
1
253
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 the associated icon for those filetypes. Thanks for any help,
2
3214
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 copies their document to a staging directory (because they're renamed to a unique filename for storage), then Respons.redirect()'ed to the staged file for download. This works great for most files(.doc,.xls,.psd,.pdf). However, I have discovered...
0
1058
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" <StevePodradc...@hotmail.com> Hi, Anyone know how to embed more than one icon in an .exe such that it can be used as a filetype icon? In other words, I want to associate
4
7421
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 get one single visible icon by setting the application icon, but that does not do it. I need to set serveral icons. (I'm testing the icon availability by going to a shortcut, selecting properties, then Change icon and navigating to my application...
0
9711
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9593
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10595
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10335
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6862
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5529
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5668
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4306
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3831
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.