A process is a small program that can run on a computer.
It can own resources (memory, device handlers, sockets etc)
A process is usually an executable file that does not share resources.
An application is loaded into its own process.
You can start a process by calling the Start method and passing in the name of the executable file as an argument.
notepad_process = System.Diagnostics.Process.Start("notepad.exe");
excel_process = System.Diagnostics.Process.Start("excel.exe");
System.Threading.Thread.Sleep(10000); //wait for 10 seconds
© 2020 Better Solutions Limited. All Rights Reserved. © 2020 Better Solutions Limited TopPrevNext