>>>>> "Bo" == Bo Peng <[EMAIL PROTECTED]> writes:
Bo> I guess windows is doing the following: Bo> 1. check Bo> HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ Bo> FileExts\.ps\OpenWithList Bo> 2. from MRUList know a is the application, get gsview32.exe Bo> 3. go to HKEY_CLASSES_ROOT\Applications/gsview32.exe key and know Bo> the exact command, Bo> 4. try to start the document with that command. Bo> Now, what I need to do, is to follow the same route and see if any Bo> application exists. I can simply check the first key but this is Bo> not accurate since gsview will still be there after Bo> uninstallation. It looks like a good plan. What is really strange though is that the is no API to do this really simple task without reading the registry. I am surprised also that Qt does not have anything to do that. JMarc