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
About the Class View
by
yinhuajian
[
Today
at 03:03:33 am]
Does FreePascal have a WM...
by
CM630
[December 15, 2025, 11:20:24 pm]
AVRPascal – free code edi...
by
ackarwow
[December 15, 2025, 10:40:17 pm]
Why does the call via fun...
by
ASerge
[December 15, 2025, 10:06:19 pm]
TLazSerial : serial port ...
by
CM630
[December 15, 2025, 09:56:09 pm]
Question re. FCL's ssocke...
by
jamie
[December 15, 2025, 09:23:35 pm]
connecting to mariadb
by
alanyoung
[December 15, 2025, 05:57:03 pm]
delete cookies
by
Leledumbo
[December 15, 2025, 05:14:27 pm]
[hacked for now] Changing...
by
jamie
[December 15, 2025, 04:40:15 pm]
Error: Enumeration symbol...
by
nanobit
[December 15, 2025, 04:17:38 pm]
AI interactions
by
Zvoni
[December 15, 2025, 02:19:48 pm]
Recomendations for conver...
by
kompustelnik
[December 15, 2025, 11:20:05 am]
Qt6 / X11: problem with G...
by
paweld
[December 15, 2025, 11:14:43 am]
[Solved] Lookup field: er...
by
BlueIcaro
[December 15, 2025, 09:59:57 am]
LCL Web Native with D2Bri...
by
egsuh
[December 15, 2025, 08:10:14 am]
Access Violation - Databa...
by
Xenno
[December 15, 2025, 06:21:52 am]
SpkToolbar custom update
by
wp
[December 14, 2025, 11:55:55 pm]
MVP made easier.
by
cdbc
[December 14, 2025, 05:14:40 pm]
Lazarus is not working
by
Fred vS
[December 14, 2025, 05:14:20 pm]
TIBDataSet "Closing"? on ...
by
RedOctober
[December 14, 2025, 04:52:18 pm]
Running External Tools
by
JuhaManninen
[December 14, 2025, 04:08:28 pm]
The start of yet another ...
by
TBMan
[December 14, 2025, 03:16:21 pm]
Need help with Runcommand...
by
marcov
[December 14, 2025, 12:46:25 pm]
Military Grade Directives
by
Thaddy
[December 14, 2025, 11:46:44 am]
Cannot find Online Packag...
by
Thaddy
[December 14, 2025, 11:37:58 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED]shellexec replacement (Read 6133 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: 1977
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