Hi all,
Please tell me how to open a windows form from the windows service using c#.
Regards
ABHISHEK
Loading
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.
Zoran HorvatPosted Dec 14, 2010, 6:30 AM
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.
jollyPosted Dec 13, 2010, 10:18 AM
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 HorvatPosted Dec 13, 2010, 9:25 AM
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.