Re: Run

"Ivan Stanojevic" <[email protected]> Sun, 19 Dec 2004 21:59:12 +0100
Newsgroups gmane.comp.lang.delphi.jedi
Message-ID <003901c4e60d$9872cc00$837489d5@lecitus>
You need to run exe?
Here you are example


Var St:Array[0..255] of char; // add this before begin to create variable


ShellExecute(0,'open',StrPCopy(St,'notepad.exe'),nil,nil,SW_SHOW); // and 
add this line to run the program

This code will launch notepad on your system insted of notepad you can type 
path to another program or try
typing Internet URL e.g. mailto:[email protected] this will open Outlook 
Express with new mesage to me
also you can open web page e.g http://www.ptt.yu/korisnici/i/v/ivanstan. I 
hope you find this helpfull.

                                                                             
                                                 Ivan Stanojevic
                                                                             
                                                       SCG 



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/i7folB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

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

<*> 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/