If you do not have the source code for this program then there is very little you can do. If you do have it then you need to modify it to do the following. Program1 (
login.exe
) will need to run independently and on press of a button should call
System.Diagnostics.Process.Start()
[
^], to load whatever program you want loaded, and then terminate. The
login.exe
program will need to use some parameter or config file to get the name of the application that it wishes to run.