Guest User

Untitled

a guest
Feb 19th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. private void button1_Click(object sender, EventArgs e)
  2. {
  3. SendKeys.SendWait( textBox15.Text + "{ENTER}");
  4. SendKeys.SendWait(textBox2.Text + "{ENTER}");
  5. }
  6.  
  7. Process myProcess = new Process();
  8. myProcess.StartInfo.FileName = @"C:************.exe";
  9. myProcess.StartInfo.WorkingDirectory = Path.GetDirectoryName(myProcess.StartInfo.FileName);
  10. myProcess.Start();
Add Comment
Please, Sign In to add comment