Re: Locate Installed Programs

From: Björn Holmgren (bjohol_at_hotmail.com)
Date: 04/28/04


Date: Wed, 28 Apr 2004 15:28:46 +0200


"J French" <erewhon@nowhere.com> wrote in message
news:408f9670.17117436@news.btclick.com...
> On Wed, 28 Apr 2004 11:19:14 +0200, "Björn Holmgren"
> <bjohol@hotmail.com> wrote:
>
> >"J French" <erewhon@nowhere.com> wrote in message
> >news:408f69e1.5709130@news.btclick.com...
> >> If WinZip is installed then it should be associated with '.ZIP' in the
> >> registry
> >>
> >> The cheap and cheerful method is to use the API FindExecutable
> >> (remember you need to create a dummy xxx.zip file for that)
> >
> >
> >...or, lookup the following registry key:
> >HKEY_CLASSES_ROOT\Applications\winzip32.exe\Shell\Open\Command
> >
> >The (default) value pair contains the full path to the winzip32
executable.
>
> True, but why bother ?

Because winzip *may not* be the default application for zip files.

--
Björn Holmgren
Guide Konsult AB