Hi there,
I have a Windows Service application that has a load of settings
defined, I can access these using My.Settings.
I would like to pass the NameValueCollec tion of the settings to another
class but unfortunately no matter what I try I get an empty colleciton back,
i.e.
System.Configur ation.Configura tionSettings.Ap pSettings
<Obsolete
System.Configur ation.Configura tionManager.App Settings
Now I know the settings are there, this code was working perfect as a
standard executable, but since I changed it to a Windows Service, it just
stopped working, any idea where my settings have gone and how I can get the
NameValueCollec tion?
Thanks in advance.
Nick.
I have a Windows Service application that has a load of settings
defined, I can access these using My.Settings.
I would like to pass the NameValueCollec tion of the settings to another
class but unfortunately no matter what I try I get an empty colleciton back,
i.e.
System.Configur ation.Configura tionSettings.Ap pSettings
<Obsolete
System.Configur ation.Configura tionManager.App Settings
Now I know the settings are there, this code was working perfect as a
standard executable, but since I changed it to a Windows Service, it just
stopped working, any idea where my settings have gone and how I can get the
NameValueCollec tion?
Thanks in advance.
Nick.
Comment