Click here to Skip to main content
15,892,537 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
What I want to achieve is very simple: I have a Windows Forms (.NET 3.5) application that uses a path for reading information. This path can be modified by the user, by using the options form I provide.My application will be stored on each client and setting files needs to be stored on remote server machine.

Now, I want to save the path value to a file for later use and accessed remotely also. This would be one of the many settings saved to this file. This file would sit directly in the application folder.

I understand three options are available:

ConfigurationSettings file (appname.exe.config)
Registry
Custom XML file


I have seen other discussions on this subject, but it is still not clear to me.

What I have tried:

i am trying remote registry but still i have some issues.
Posted
Updated 22-Aug-17 21:37pm

1 solution

See this excellent article by OriginalGriff: Where should I store my data?[^].
 
Share this answer
 
Comments
[no name] 23-Aug-17 7:39am    
i check the article but i want for remote setting and application is not remote only database file is stored on remote server
Richard MacCutchan 23-Aug-17 7:48am    
The issue is the same. Each application will need the settings stored on its own PC.
[no name] 23-Aug-17 7:51am    
but when i change file in server machine it should reflect to all client machine setting file also.
Richard MacCutchan 23-Aug-17 7:57am    
It depends how your clients are connecting to the remote system.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900