In addition to, as Sergey points out in his solution, the fact you can't do what you describe:
Having an Application directly modify the bytes of another Application is bad strategy; and, I think it could trigger suspicious-event detection malware/virus protection software.
However, launching another Application where you pass in parameters from your Application that will change the state/behavior of the other Application is a reasonable strategy.
This new thread on the C# Forum here may give you some ideas: [
^] ... check out the CP article linked to in the first post on that thread.