🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #16678

Re: Identifying registered appications

#16678
From: Matthias Knoke
Date: Mon, 05 May 2003 12:58
75 lines
3674 bytes
Thanks,
this is what I thought, but what is bothering me is, that on one of my PC's
(with Win2k) the ".pdf" key is empty,

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.pdf]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.pdf\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"

and the "AcroExch.Document" key is called "AcroExch.Dokument" (german
version) and has no "shell/open" key:

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AcroExch.Dokument]
@="Adobe Acrobat-Dokument"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AcroExch.Dokument\CLSID]
@="{B801CA65-A1FC-11D0-85AD-444553540000}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AcroExch.Dokument\Insertable]
@=""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AcroExch.Dokument\protocol]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AcroExch.Dokument\protocol\StdFileEditi
ng]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AcroExch.Dokument\protocol\StdFileEditi
ng\server]
@="C:\\PROGRA~1\\Adobe\\ACROBA~1.0\\Reader\\AcroRd32.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AcroExch.Dokument\protocol\StdFileEditi
ng\verb]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AcroExch.Dokument\protocol\StdFileEditi
ng\verb\0]
@="&Edit"

but nevertheless I can sucessfully open pdf-files with a double click.  So
there must be something more than this 2-step procedure that you described
...
Any idea ?

Thanks in advance !
Matthias






"Sam Mildener" <nospam@hotmail.com> schrieb im Newsbeitrag
news:q_rta.2262$jn.288098376@hebe.telenet-ops.be...
> Matthias Knoke wrote:
> > Hi,
> > what is the best way to identify registered applications on a PC ?
> >
> > I like to start Acrobat Reader and MS Word from my program, so I need
> > to know whether it is installaed, and , if yes, where the application
> > is located.
> >
> > In the registry I found in  HKEY_LOCAL_MACHINE\Software\Classes keys
> > for all registered file types (like ".doc", ".pdf" etc.) but these
> > links don't contain the path name of the application, and it seems,
> > the format of this entries differs between the windows
> > versions.
> > What is the easiest way to solve this  ?
>
> HKEY_LOCAL_MACHINE\Software\Classes DOES INDEED point to the application
> path,
> in two steps:
>
> The default value for .pdf for instance is "AcroExch.Document".
>
> Then look up the default value for
> HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AcroExch.Document\shell\open\command
>
> This is the path to Acrobat Reader.
>
> --
>
> Sam Mildener
>
>
Technical Details
Message-ID: <b95n6i$ljd$00$1@news.t-online.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
References: <b95cr4$n9k$07$1@news.t-online.com> <q_rta.2262$jn.288098376@hebe.telenet-ops.be>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,425f8c99a1b6a5a5
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-05-05 06:03:25 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
From: "Matthias Knoke" <Matthias.Knoke@t-online.de>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Identifying registered appications
Date: Mon, 5 May 2003 14:58:46 +0200
Organization: T-Online
Lines: 77
Message-ID: <b95n6i$ljd$00$1@news.t-online.com>
References: <b95cr4$n9k$07$1@news.t-online.com> <q_rta.2262$jn.288098376@hebe.telenet-ops.be>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.t-online.com 1052139538 00 22125 GUp7EtAVS0YYWR 030505 12:58:58
X-Complaints-To: abuse@t-online.com
X-ID: bQqfs-ZcZet0QV-WaiiAMFWmlCDOSMTXq4mV6qYsOnRSHuLdSvppkC
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700