Help finding an application path in windows

Ian McKnight iangmcknight at gmail.com
Tue Apr 24 11:10:16 EDT 2012


Hi Ken

Thanks for the suggestion - it worked perfectly when I included a last "\"
at the end of the path.

Regards

Ian McKnight

On 22 April 2012 12:50, Ken Ray <kray at sonsothunder.com> wrote:

>
> On Apr 21, 2012, at 8:16 AM, Ian McKnight wrote:
>
> > Hi
> >
> > I'm am able to launch a file in Excel directly from LC but I do not want
> to
> > hard code the path to excel in my app.
>
> I'm not at my PC to confirm this at the moment, but according to a web
> search, you should be able to do this (watch for line breaks):
>
> put queryRegistry("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\
> CurrentVersion\App Paths\excel.exe") into tExcelPath
>
>
> Ken Ray
> Sons of Thunder Software, Inc.
> Email: kray at sonsothunder.com
> Web Site: http://www.sonsothunder.com/
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
Regards


Ian McKnight

iangmcknight at gmail.com
=======================



More information about the use-livecode mailing list