> If I start a process with ShellExecute, how do I close the process and its window programatically?
Use ShellExecuteEx instead. You get the process handle which can be used to kill the process. Note that it is far better to make the child process cooperate with the parent process so that closing the process is graceful. -- francois.pie...@overbyte.be The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be __________________________________________________ Delphi-Talk mailing list -> Delphi-Talk@elists.org http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk