How to detect application associated with file

To get full path to application associated with any file type, we need standard ShellAPI unit and the rest will do the FindExecutable function.
This function retrieves the name of and handle to the executable (.exe) file associated with a specific document file. For more information, visit detailed description on MSDN.