Get File Type Description

  • Thread starter Thread starter osmarjunior
  • Start date Start date
O

osmarjunior

Is there a way to get the Window's file type description:

....
".doc" "Microsoft Word Document"
".xls" "Microsoft Excel Document"
....

In the Windows Explorer (Menu Tools -> Options we can change these
types).
How can I access them in C# code?

Regards.
 
In the Windows Explorer (Menu Tools -> Options we can change these
types).
How can I access them in C# code?

Use the SHGetFileInfo function with SHGFI_TYPENAME. I'm sure google
can help you find sample code.


Mattias
 
Back
Top