Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Does anyone have any idea of how I could create a windows service that accepts configuration information?

 

Ideally, I was hoping there would be a way to add a tab to the Serives plugin in the control panel, that would allow the user to specify some configuration information for the Service.

 

The only other way I can think of doing it, is to provide a stand alone config program, or a MMC snap in that stors the config info in the registry for my service to retrieve, but ideally if possible I'd like to do what I've suggested above.

 

Any help would be appreciated.

 

Thanks

 

Tryster

Posted
What kind of configuration information? I'm not really sure what you mean. But I think you might be able to get by with a text file or something that the service can read. I'm pretty sure you can't actually "interact" with the service except for starting, stopping, pausing, etc. the service. Or create a "client" program that communicates with the service through sockets.
If it works... don't worry, I'll fix it.
  • *Experts*
Posted

Phreak is right, you can create a service class that reads from a file the configuration info you want to input, but there is no ui for

a service.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...