[SOLVED]shellexec replacement lazarus / 31-LCL ---------------------------------------------------------------------- mbnoimi · 2010-10-23 09:24 Hi All, I usually use shellexec in Windows in "onclick" event for opening links is there any replacement for opening links in LCL? PS I'm afraid that shellexec will not works in Linux. ---------------------------------------------------------------------- typo · 2010-10-23 09:28 ShellExecute has an implementation in Lazarus, but use OpenURL instead. ---------------------------------------------------------------------- mbnoimi · 2010-10-23 09:53 QuoteShellExecute has an implementation in Lazarusyou mean I can use ShellExecute safety in Linux, is it? ---------------------------------------------------------------------- typo · 2010-10-23 10:18 No. ---------------------------------------------------------------------- Zoran · 2010-10-23 10:34 See: http://www.lazarus.freepascal.org/index.php/topic,10453.0.html http://www.lazarus.freepascal.org/index.php/topic,8243.0.html ---------------------------------------------------------------------- theo · 2010-10-23 10:35 Use   OpenDocument(Filename); or   OpenURL(FileName); Both in unit LCLIntf (at least in Lazarus 0.9.29) ---------------------------------------------------------------------- mbnoimi · 2010-10-26 06:42 Thanks a lot for your replies the problem solved.