I want to create an window service which call an exe and that exe will open a pop up page in C#.
Please help
Thanks
Abhishek verma
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
r pPosted Sep 14, 2012, 5:46 AM
Hi,
I created a Windows Service using C#, I want to schedule it to run every night at 12am.
How can I call this windows service from Task Scheduler?
Thanks
Akkiraju IvaturiPosted Sep 7, 2012, 6:52 PM
Sukesh MarlaPosted Sep 7, 2012, 12:44 PM
Abhishek VermaPosted Sep 7, 2012, 5:29 AM
But i want to call a window application which is used to import the csv file from a folder.
I want to do this task automatically for a perticular time interval.
So I need a window service which call the my application and will open a form and Import the data.
Sukesh MarlaPosted Sep 7, 2012, 5:05 AM
Use this links to understand how to create windows service
http://www.csharp-examples.net/create-windows-service/
http://www.dotnetfunda.com/articles/article1095-creating-a-windows-service-using-csharp.aspx
In service
ProcessStartInfo startInfo = new ProcessStartInfo("IExplore.exe");
startInfo.Arguments = "htpp://asd.com/MyPage.aspx";
Process.Start(startInfo);
You can also specify other exe name to ProcessStartInfo
like notepad.exe..
Check this is correct answer if it helped