0

in the windows XP explorer "folder options" dialog is a File type tab. In the file type tab the known filteypes are associated with a program.

When the "Edit File Type" dialog is visible, there are different actions for a file type like open or print. Each of these actions have a property of "Application used to perform action". I need to read out the absolute path and name of the listed software.

How can I do this?

Thorben
  • 17
  • 6
  • Are you asking how to find the associated programs per file type? – Dave Mar 27 '13 at 09:14
  • you can find the applications associated with an extension in the registry, somewhere in HKEY_CLASSES_ROOT if I remember well – ppetrov Mar 27 '13 at 09:17

1 Answers1

1

You need to look into File Associations, there's many ways to do it.

MSDN: http://msdn.microsoft.com/en-us/library/windows/desktop/cc144154(v=vs.85).aspx

PInvoke, has an shchangenotify(...) has an example in that area of the Registry: http://www.pinvoke.net/default.aspx/shell32.shchangenotify

Also the Related links on the right ->

Mesh
  • 6,262
  • 5
  • 34
  • 53