Widows service

R

Robert Bravery

HI all,

I want to write a windows service. I also want to have a form for setting
properties for the service. Can some one help me out, get me started or
point me in the right direction

Thanks

Robert
 
M

Michael Nemtsev [MVP]

Hello Robert,

just keep your setting into the the config and then use your UI form to edit
these settings
your service should check the config and read that settings

and dont create the service with UI, it's not appropriate

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


RB> HI all,
RB>
RB> I want to write a windows service. I also want to have a form for
RB> setting properties for the service. Can some one help me out, get me
RB> started or point me in the right direction
RB>
RB> Thanks
RB>
RB> Robert
RB>
 
C

Claire

Depending on your version of visual studio there should be a wizard to
create a windows service application.
As services start up and run before users log in, you should never add a
user interface to the main application.
Create a 2nd simple form application and use it to create the configuration
that the service reads. Remember to make your service rugged so that it wont
fall over if it doesnt find the config file.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top