|
-
Jun 27th, 2008, 03:36 PM
#1
Thread Starter
Fanatic Member
windows service
Hi,
I have developed a windows service which retrieves a few settings from an xml file i.e. settings.xml
There is a User Interface i.e. a winform, which allows the user to change the settings in the xml file.
The only problem is that when the user changes the xml file, then the service has to be stopped and re-started in-order for the windows service to pick up the new settings otherwise if you do not stop and re-start, then the windows service refers to the old settings even though the user has changed the xml file settings.
So, does this mean I have to develop the code to stop and re-start the service on each change of the xml file? if so, how is this done please?
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|