How do I run programs "in" my program?
When I click a button, I want it to run a .reg file that I added to a folder in Visual Studio, like this:
How do I run programs "in" my program?
When I click a button, I want it to run a .reg file that I added to a folder in Visual Studio, like this:
First of all, you should define a build action as "content" and "Copy file" field should be equal to "Always". After that, you should use System.Diagnostics.Process.Start function and specify your .reg file name in arguments.