How to determine the applications associated with a particular extension (e.g. .JPG) and then determine where the executable to that application is located so that it can be
Like Anders said - It's a good idea to use the IQueryAssociations COM interface. Here's a sample from pinvoke.net