Re: Opening URL

"milandojcinovic" <[email protected]> Sun, 25 Jul 2004 18:36:38 -0000
Newsgroups gmane.comp.lang.delphi.kylix
Message-ID <[email protected]>
--- In [email protected], "Luis Santos" <lf.p@u...> wrote:
> Hi!
> 
> How can I open a URL from kylix?
> 
> In windows I use ShellExecute... Is there a similar way??
> 
> A lot of thanks,
> Luis.
> 
> 
> [Non-text portions of this message have been removed]

I found this on some forum I did not try it, but man says it works

---------------------------------------------------------
uses 
  libc; 

procedure TForm1.Button1Click(Sender: TObject); 
var 
  iPrg: Integer; 
begin 
  //Execute kcalc - A calculator for KDE 
  iPrg := libc.system('kcalc'); 
  if iPrg = -1 then 
    ShowMessage('Error executing your program'); 
end;
---------------------------------------------------------
see if it works for you



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/i7folB/TM
--------------------------------------------------------------------~-> 

-------------------------------------------------------
Forum / mailing list for Borland Kylix programmers
Our web page:  http://groups.yahoo.com/group/kylixgroup
To join the forum: [email protected]
To unsubscribe:  [email protected]
To post your messages:       [email protected]
To contact the moderator:  [email protected]
------------------------------------------------------- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/KylixGroup/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/