On Tue, Apr 25, 2006 at 09:06:10PM -0500, Bo Peng wrote:

> I guess windows is doing the following:
> 
> 1. check HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\
>       FileExts\.ps\OpenWithList
> 
> 2. from MRUList know a is the application, get gsview32.exe
> 
> 3. go to HKEY_CLASSES_ROOT\Applications/gsview32.exe key and know the
> exact command,
> 
> 4. try to start the document with that command.
> 
> Now, what I need to do, is to follow the same route and see if any
> application exists. I can simply check the first key but this is not
> accurate since gsview will still be there after uninstallation.
> 
> Please help me check if your system (win2k, 98, xp sp1 etc) have the same 
> keys.

This is the same on win2k. However, I would be surprised that there
is no API to ascertain if an extension has an associated program.

-- 
Enrico

Reply via email to