ShellExecute will open any file that is registered in the registry. e.g. *.doc, *.xls, *.txt, *.ini, *.chm, *.pdf, *.html

Actually ShellExecute is a useful API, you can open virtually anything, print, send emails etc.