Home   |   Software   |   Practical Jokes   |   Code Corner   |   Workshops


Delphi Secret #2

Programmatically Starting Another Program
 
 
     As with closing another application, starting one only takes one line of code also. Just make sure to specify the file path of the program you are executing. This command also executes files that are associated (mp3, txt, doc).

Code:
ShellExecute(0, Nil, PChar(file path of the program), Nil, Nil, SW_SHOWNORMAL);







This page was developed by FoxWare Design & Support.
Hosted by www.Geocities.ws

1