hi to all, i am new to .Net Development. My requirement was executing an application whenever the service starts. i need to do it in C#. please help.i don't know how to do that . if u have any reference specify that also.
thanks in advance
Regarding calling an application from windows service
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Scott LysleRank #49 · 31K reputationPosted Feb 12, 2008, 11:20 PM EST
protected override void OnStart(string[] args) { System.Diagnostics.Process.Start("iexplore.exe", "http://www.msn.com"); } Process.Start accepts a couple of arguments, the first is the executable to launch (e.g., iexplore.exe in this example) and the second argument is any optional arguments that the executable may use (in this case, a URL). Of course the executable can be any executable and may include a full path to that executable and the arguments to the executable are optional.
venkatesh p7 reputationPosted Feb 13, 2008, 7:47 PM EST