Tryster Posted April 14, 2003 Posted April 14, 2003 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 Quote
Phreak Posted April 14, 2003 Posted April 14, 2003 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. Quote If it works... don't worry, I'll fix it.
*Experts* jfackler Posted April 14, 2003 *Experts* Posted April 14, 2003 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.