From: KPD on
Greetings,

As per my post here:
http://social.msdn.microsoft.com/Forums/en/vsto/thread/5bb16f8a-deec-4a39-96cc-3631ae98059f

I'm trying to find a way of getting a list of known file extensions (in
string format) for various Office applications. For example, if my plugin is
running in Word, i'd like to get all the known file types: "docx", "doc",
etc.

Anyone have any insight?
From: Karl E. Peterson on
KPD explained on 12/15/2009 :
> Greetings,
>
> As per my post here:
> http://social.msdn.microsoft.com/Forums/en/vsto/thread/5bb16f8a-deec-4a39-96cc-3631ae98059f

Ew, what's that? Looks like a website link? <g>

> I'm trying to find a way of getting a list of known file extensions (in
> string format) for various Office applications. For example, if my plugin is
> running in Word, i'd like to get all the known file types: "docx", "doc",
> etc.

You'll want to iterate through all the root level file extension keys
(those that start with ".") in HKCR, looking for ones that have a
default value that starts with "Word."

--
[.NET: It's About Trust!]