process
-
how to stop computer running process and start process using c#.
-
how to stop computer running process and start process using c#.
-
how to stop computer running process and start process using c#.
Start and stop processes? Is that what you're asking? If so, look at System.Diagnostics.Process class.
-
how to stop computer running process and start process using c#.
you can start process using c# by this way: using System.Diagnostics ....... Process.Start("notepad.exe"); ....... Process.Start("cmd",@"/c mysqldump --user=root --password=123 mysql > c:\db.sql -t");//useful ....... Process.Start("notepad.exe","c:\\record.txt"); ....... Process.Start("IEXPLORE.EXE","http://jnjx.126.com"); ....... Process.Start(@"C:\myFiles\MyApp.exe"); ..... and you can stop the process usingC# by this way: //you can use the function using System.Diagnostics; .......... private void KillProcess(string processName) { Process myproc= new Process(); // try { foreach(Process thisproc in Process.GetProcessesByName(processName)) { thisproc.Kill(); } } catch(Exception Exc) { MessageBox.Show(Exc.Message); } } //you can call this function like :KillProcess("iexplore.exe");