run .exe file using windows servie

Posted by Chilverupavan under C# on 6/5/2010 | Views : 4757 | Status : [Member] | Replies : 2
hi friends,,


how to run a .exe file by using windowservie?

see
1.I developed a .net webapplication and created it in a .exe file .
2.created a window service using window service template.
3.when i start a service it has invoke that .exe file and the application should run on my local machine.

need help any one please.....................




Responses

Posted by: Brightl on: 6/6/2010 [Member] Starter

Up
0
Down
Your problem statement sounds like you have already written this.

What is your challenge ?


oops

Chilverupavan, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Muhilan on: 6/7/2010 [Member] Starter

Up
0
Down
try like this on window service starting

Process.start("c:\yourexepath\filename.exe");






Chilverupavan, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response