Alexander,
>I'm using ShellExecute for opening document files of different type. And I want to disable "Open" button if selected file type is not associated with any application and cannot be opened. For instance, for .xls file if Excel is not installed, for .pdf if Acrobat not installed etc.
Have a look at the FindExecutable() funtion in the WINAPI section (api#12662).
Armin