>Hi Ed,
>
>Good point!
>You mean for me just to use the RUN command? Then how could I close all instances when the user exits from the instance number 1?
>Or u mean another way for launching / killing an application (I saw your classes concerning that theme in the knowledge base section where you use WinAPI calls).
>
If you use API_APPRUN, then you have a way of terminating any process launched by it through the TerminateProcess method.