VB.NET 2005 Service - Settings file location

S

Sid Price

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.
 

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