Starting Other Applications
Posted on 1997-07-14
I can't beleive this is so complicated in Delphi. I simply want to start another application, not necesarily for OLE or DDE puposes. In Paradox, I simply put 'Execute.notepad.exe' in a button - and it happened. I tried CreateProcess and WinExec and neither work. Can someone write so CODE telling me how to execute an .exe file.
I'll assume your code will search the existing directory for the .exe, then the PATH, then the entire drive. If this is not the case, please let me know what the code is to do this.