Hi all,
Please tell me how to open a windows form from the windows service using c#.
Regards
ABHISHEK
Open Windows Form from Windows Service..
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Zoran HorvatRank #792 · 2.9K reputationPosted Dec 13, 2010, 4:25 AM EST
What exactly is the problem you're solving? From my previous experience popping up the window from inside the service is not the right way to do anything.
jolly3 reputationPosted Dec 13, 2010, 5:18 AM EST
so in that case i want the user to see a windows form.
If any other solution, you have please do tell me with some illustrated code.
Regards
ABHISHEK SAXENA
Zoran HorvatRank #792 · 2.9K reputationPosted Dec 14, 2010, 1:30 AM EST
1. Write a regular Windows desktop application and install it to star up on login.
2. Write any kind of inter-process communication between this application and Windows service - WCF, remoting, socket, plain file, whatever.
3. When application loads, popup the window, fetch data from the user and send them to the service.