Friday, 25 May 2018

How to run exe file using C#

1. Open Visual Studio and create a new website
2. Add namespace using System.Diagnostics;
3. On Button Click event write below code

         var Path = "C:\\Notepad.exe";

         Process.Start(Path);

4. Run Code.

No comments:

Post a Comment

Thanks

SQL server tricky questions