Solved

Where to / How to properly store settings in the Windows Registry

Posted on 2016-08-01
4
76 Views
Last Modified: 2016-08-03
I am writing a small Windows Application, and I want to store some settings.

How do I interface with the Windows Registry in C#?

Where is the correct place to store settings for my application?

This app will be in Windows 8.1 or better.

Thank you,

Tom
0
Comment
Question by:Tom Knowlton
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 70

Assisted Solution

by:Éric Moreau
Éric Moreau earned 250 total points
ID: 41738032
0
 
LVL 5

Author Comment

by:Tom Knowlton
ID: 41738046
0
 
LVL 34

Accepted Solution

by:
sarabande earned 250 total points
ID: 41738567
with .net you would use class System.Configuration.ConfigurationManager for storing app configuration data to the registry. see

https://msdn.microsoft.com/en-us/library/system.configuration.configurationmanager(v=vs.110).aspx

Sara
0
 
LVL 5

Author Closing Comment

by:Tom Knowlton
ID: 41741367
Thank you both!

Tom
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question