C# Windows Service To Run & Stop .exe App
Posted on 2014-04-25
I am planning to create Windows Service and through WS, I want to run exe application which is present in local path lets say "C:\Run.exe".
I have written some database operations in this exe app.
I want to know C# code which will run this exe by Windows Service and after completion of database operations, service must close this exe too.
I tried with some sample codes i got from Google but its creating issues.
Thanks in advance !