Looking for OpenOffice in the registry, I found:
[HKEY_CLASSES_ROOT\opendocument.CalcDocument]
[HKEY_CLASSES_ROOT\opendocument.CalcDocument\CurVer]
@="opendocument.CalcDocument.1"

And among other things in that place:
[HKEY_CLASSES_ROOT\opendocument.CalcDocument.1\protocol\StdFileEditing\server]
@="C:\\Program\\OpenOffice.org 2.0\\program\\soffice.exe"

I don't know which way is the best, perhaps should the CLSID be used.
Have a look in your registry.
/$


2006/3/20, Kirill S. Palagin <[EMAIL PROTECTED]>:
> People, searching 200GB disk with millions of files while building
> dialog is impractical.
> I am talking about checking some registry location (on Windows).
>
> > -----Original Message-----
> > From: Knight, Jon [mailto:[EMAIL PROTECTED]
> > Sent: Monday, March 20, 2006 8:19 PM
> > To: '[email protected]'
> > Subject: RE: [users] Programmatically detecting Calc - how do I?
> >
> > There are probably different default install locations for
> > the various platforms, but you might check that location
> > first.  If you find it you'll save a bunch of disk search time.
> >
> > Jon Knight
> >
> > -----Original Message-----
> > From: Dan Lewis [mailto:[EMAIL PROTECTED]
> > Sent: Monday, March 20, 2006 11:01 AM
> > To: [email protected]
> > Subject: Re: [users] Programmatically detecting Calc - how do I?
> >
> > On Monday March 20 2006 10:00 am, Kirill S. Palagin wrote:
> > > Hello.
> > >
> > > How do I programmatically find location of Calc so that I
> > can run it
> > > from my application? I am talking about OOO2 and up.
> > >
> > > Thanks a lot.
> > > WBR,
> > > K. Palagin.
> >
> >      For Windows, do a search for scalc.exe. For Linux,
> > search for scalc.
> >
> > Dan
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED] For
> > additional commands, e-mail: [EMAIL PROTECTED]
> >
> > -----------------------------------------
> > The information in this message may be proprietary and/or
> > confidential, and protected from disclosure.  If the reader
> > of this message is not the intended recipient, or an employee
> > or agent responsible for delivering this message to the
> > intended recipient, you are hereby notified that any
> > dissemination, distribution or copying of this communication
> > is strictly prohibited. If you have received this
> > communication in error, please notify First Data immediately
> > by replying to this message and deleting it from your computer.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED] For
> > additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to