Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / March 2008

Tip: Looking for answers? Try searching our database.

VB.NET 2005 Service - Settings file location

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sid Price - 28 Mar 2008 15:02 GMT
I have a service I am developing for a client, it requires some
configuration parameters that are stored in the settings file; accessed
using My.Settings. The service appears to be reading the file correctly and
picking out the parameters. I also need to write a configuration
application, it detects if the service is running and if it is it stops it.
Next I would like to be able to read the settings fie of the service, make
changes and save it before restarting the service. The problem is that I can
not discover where the service settings file is. The settings are created
using the settings designer and all of them are User settings.
Any help would be much appreciated.
Sid.
Sid Price - 29 Mar 2008 15:05 GMT
Just so that others will have an answer if they Google and find my question
about this, check out this article from MSDN that helped me to resolve the
issue of controlling my service with a separate GUI.

Monitoring and Dynamically Configuring Windows Services -
http://msdn2.microsoft.com/en-us/library/ms973811.aspx
Sid.

>I have a service I am developing for a client, it requires some
> configuration parameters that are stored in the settings file; accessed
[quoted text clipped - 10 lines]
> Any help would be much appreciated.
> Sid.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.