How do i read the default path to the application that has been set as default for a file with a extention.


Example:-


If i pick up a file with say a .bmp extention how do i check the registry for the correct name and path to the associated application.


Thanks