Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting the icon for a given file type
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00825892
Message ID:
00827386
Vues:
19
Hi Claudio,

I'm wondering if you could get the icon info from the registry. I'm not sure where it is located in there. It would definitely be easier if you could just get the full path of the file.

>Hi, Cathi.
>
>>Here is a class that should provide what you are looking for.
>
>Now here comes another related question: that class works fine for getting the icon for an existent file that I have the fully-qualified path to it. What about the situation when all I know is the name of the file? I mean, given a filename like "backup.zip", can I retrieve the icon associated with zip files using that same class?
>
>TIA
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform