[Delphi] open programs from delphi
Posted: 24 Dec 2010, 16:04
Here is how you open other programs from your delphi program. In the uses make sure you add ShellAPI. The folllowing lines opens up notepad
To open the broswer and to go to a specific page use the following line.
Code: Select all
ShellExecute(Handle, 'Open', 'notepad', nil, nil, SW_SHOW);
Code: Select all
ShellExecute(Handle, 'Open', 'www.site.com', nil, nil, SW_SHOW);