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 <k...@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: k...@sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode@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 iangmckni...@gmail.com ======================= _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode