Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to run an .exe file from a delphi program

Status
Not open for further replies.

dmarnerou

Programmer
Jun 12, 2002
30
CY
Hi,
I would like to ask if anyone has ever tried to run an executable from a delphi program. Is there a command that does this? I would appreciate it very much if you could provide me with some sample code.

Thank you,
Demetra
 
Try the search function, it's discussed before over a dozen times.

HTH
TonHu
 

if you have'nt found the help by now.......

shellexecute(handle,'open','yourexe.exe',nil,nil,1);

put shellapi in your uses clause.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top