ApplicationSettingsBase, Shared between Machines?

G

gilbert@gmail

Hello.

I am trying to work with the Settings in .NET 2.0.

I have a few settings in the VS2005 generated ApplicationSettingsBase
class (Properties.Settings.settings). These settings are marked as
user scope. I would like to share those user-defined settings between
machines (The domain is not set for user roaming). Is there any way to
save the config file to a directory and open it when the program
starts to load? Thanks.

Gilbert
 
G

Guest

Hi Gilbert,
These settings are marked as user scope
So, why don't you change the scope to application? (project properties,
settings, scope)

If this is not the answer you are looking for, then please give some more
info.
 
A

Alex N

The default implementation of MS Properties.Settings.Default.<Some Setting> with application scope doesn't allow to save any changes back to original <program>.exe.config file, only user scope.

I'm struggling with the same problem: how to share a single <program>.exe.config file among several running networked instances of the same app?



Nic wrote:

Hi Gilbert,So, why don't you change the scope to application?
05-Oct-07

Hi Gilbert

So, why do not you change the scope to application? (project properties
settings, scope

If this is not the answer you are looking for, then please give some mor
info.

Previous Posts In This Thread:

ApplicationSettingsBase, Shared between Machines?
Hello

I am trying to work with the Settings in .NET 2.0

I have a few settings in the VS2005 generated ApplicationSettingsBas
class (Properties.Settings.settings). These settings are marked a
user scope. I would like to share those user-defined settings betwee
machines (The domain is not set for user roaming). Is there any way t
save the config file to a directory and open it when the progra
starts to load? Thanks

Gilbert

Hi Gilbert,So, why don't you change the scope to application?
Hi Gilbert

So, why do not you change the scope to application? (project properties
settings, scope

If this is not the answer you are looking for, then please give some mor
info.

EggHeadCafe - Software Developer Portal of Choice
DataReaders, DataSets and Performance
http://www.eggheadcafe.com/tutorial...d7-c30b32ccde5c/datareaders-datasets-and.aspx
 

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