Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
LCL
»
[SOLVED]shellexec replacement
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
ThorVG - test (lightweigh...
by
Boleeman
[
Today
at 01:47:56 pm]
Frustrating Error When us...
by
TYDQ
[
Today
at 01:43:32 pm]
Questions from a Windows ...
by
anse
[
Today
at 01:18:40 pm]
AdvancedHTTPServer: A Go-...
by
CynicRus
[
Today
at 01:05:28 pm]
We are starting to use La...
by
ALLIGATOR
[
Today
at 12:50:41 pm]
Status of FPC 3.4.0 or FP...
by
gidesa
[
Today
at 12:35:41 pm]
Notetask 1.1.1 - Free cro...
by
AlexanderT
[
Today
at 12:00:08 pm]
The Future of FPC
by
Martin_fr
[
Today
at 11:53:35 am]
Fast Canvas Library V1.05...
by
backprop
[
Today
at 11:36:25 am]
How to determine the unkn...
by
CM630
[
Today
at 11:22:22 am]
Lazarus/FreePascal Bug
by
cdbc
[
Today
at 10:52:58 am]
how to enable multihelper...
by
dsiders
[
Today
at 03:35:27 am]
Bee Hive solitaire
by
TBMan
[
Today
at 03:22:09 am]
AI Created Music
by
Tony Stone
[
Today
at 03:02:08 am]
Send form to true left an...
by
mas steindorff
[
Today
at 02:39:34 am]
Help needed compiling
by
jamie
[
Today
at 02:33:02 am]
Free Pascal for a small e...
by
dbannon
[
Today
at 02:24:49 am]
Debian removes FPC/Lazaru...
by
dbannon
[
Today
at 02:09:35 am]
makefiles
by
PascalDragon
[February 12, 2026, 11:37:48 pm]
; after then
by
Curt Carpenter
[February 12, 2026, 11:36:16 pm]
[ANN] fpGUI Toolkit v2.0....
by
Fred vS
[February 12, 2026, 10:45:14 pm]
TRichMemo EM_FORMATRANGE ...
by
AgriMensor
[February 12, 2026, 08:50:07 pm]
fpGUI Toolkit v2.0.1 has ...
by
Roland57
[February 12, 2026, 08:22:06 pm]
[SOLVED] Defining TDBDrop...
by
1HuntnMan
[February 12, 2026, 08:08:22 pm]
Problems in drawing an ar...
by
simsee
[February 12, 2026, 07:52:25 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED]shellexec replacement (Read 6156 times)
mbnoimi
New Member
Posts: 34
[SOLVED]shellexec replacement
«
on:
October 23, 2010, 11:24:08 am »
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.
«
Last Edit: October 26, 2010, 08:44:46 am by mbnoimi
»
Logged
typo
Hero Member
Posts: 3051
Re: shellexec replacement
«
Reply #1 on:
October 23, 2010, 11:28:32 am »
ShellExecute has an implementation in Lazarus, but use OpenURL instead.
Logged
LazarusBrasil.Org
mbnoimi
New Member
Posts: 34
Re: shellexec replacement
«
Reply #2 on:
October 23, 2010, 11:53:08 am »
Quote
ShellExecute has an implementation in Lazarus
you mean I can use ShellExecute safety in Linux, is it?
Logged
typo
Hero Member
Posts: 3051
Re: shellexec replacement
«
Reply #3 on:
October 23, 2010, 12:18:43 pm »
No.
Logged
LazarusBrasil.Org
Zoran
Hero Member
Posts: 1980
Re: shellexec replacement
«
Reply #4 on:
October 23, 2010, 12:34:16 pm »
See:
http://www.lazarus.freepascal.org/index.php/topic,10453.0.html
http://www.lazarus.freepascal.org/index.php/topic,8243.0.html
Logged
Swan, ZX Spectrum emulator
https://github.com/zoran-vucenovic/swan
theo
Global Moderator
Hero Member
Posts: 1933
Re: shellexec replacement
«
Reply #5 on:
October 23, 2010, 12:35:35 pm »
Use
OpenDocument(Filename);
or
OpenURL(FileName);
Both in unit LCLIntf (at least in Lazarus 0.9.29)
Logged
mbnoimi
New Member
Posts: 34
[SOLVED]Re: shellexec replacement
«
Reply #6 on:
October 26, 2010, 08:42:33 am »
Thanks a lot for your replies the problem solved.
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
LCL
»
[SOLVED]shellexec replacement
TinyPortal
© 2005-2018