Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Download type recognition
Message
De
18/10/2012 15:13:37
 
 
À
18/10/2012 14:54:01
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01555235
Message ID:
01555285
Vues:
30
>>FireFox may be enumerating and using the Windows registered file types stored in the Registry. There is some information at http://www.awitness.org/delphi_pascal_tutorial/source4/registry_associated_applications.html .
>>
>>You can also Google [windows registered file types enumerate].
>
>Thanks, Firefox returns "Microsoft Word 97 - 2003 Document" but in the Windows Registry, it's "Word.Document.8". So, I guess Firefox does not rely on the Windows Registry to return the registered file types known as. It probably has something on its own. In this case, the explanation is much better. So, this is the kind of enumeration I would like to obtain. I will keep looking for a list with most commonly used file type enumerations.
>
>BTW, while at it, I found a bug in Firefox. With the above type, this goes off the dialog as the text is too large.

When you look at HKEY_CLASSES_ROOT\.doc, the Default value is Word.Document.8. But then, as outlined in the first link I listed earlier, you have to chase down another key to get the friendly name. In this case you would go to HKEY_CLASSES_ROOT\Word.Document.8, and you see that the Default value is "Microsoft Office Word 97 - 2003 Document", which is the friendly name.

Windows itself also shows "Microsoft Office Word 97 - 2003 Document" in its list of registered file types, so it looks like FireFox is using the same mechanism Windows itself uses.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform