3
I wanted to call through an application in C# a .exe any and pass them some commands as soon as it opened. For example, what I want to do at the moment is that the program opens, give three Tabs and fill in the past values and give three more Tabs.
Does anyone know if it’s possible to do this with C#?
Follow what I’ve tried:
System.Diagnostics.Process processo = new System.Diagnostics.Process();
System.Diagnostics.ProcessStartInfo startInfo = new System.Diagnostics.ProcessStartInfo();
startInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Normal;
startInfo.FileName = @"C:\Users\VICTOR\Desktop\Test.exe";
startInfo.Arguments = "\t \t \t 0 \t 0 \t 0 \t 0 \t 0 \t 0 \t 0 \t 0 \t 0 \t 0 \t \t \t";
System.Diagnostics.Process.Start(startInfo);
Okay, thanks for the tip. I’ll wait for more to mark as an answer in the next questions. And the answer I set ended up solving the initial question I asked. For the other problem, in case I can’t solve, I believe it’s best to ask a new question.
– Victor Melias
Right! I was just going to suggest you ask a new question. I wanted to give you a touch because I noticed that you edited the question to make it more intuitive; but you’re already on. Good luck there!
– Caffé