Click here to Skip to main content
15,906,455 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i wants to save some things for one time.
and every time when program be run, this settings be read.
how i can do it?
if i use from registery, how must i do it?
Posted
Comments
Er. Dinesh Sharma 3-Dec-14 11:28am    
read this article
http://www.codeproject.com/Articles/3389/Read-write-and-delete-from-registry-with-C
PIEBALDconsult 3-Dec-14 11:55am    
I use a custom config file, in XML.

Don't use the registry. It gets harder and harder each time to access the registry, and for good reasons. Instead, save your data in a safe place: Where should I store my data?[^]
 
Share this answer
 
If you want to use the registry there are many c# examples online. You can also use a file, such as an xml file. You could also use a database.

Many options.
 
Share this answer
 

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