Solved

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

Posted on 2016-08-01
4
73 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:knowlton
  • 2
4 Comments
 
LVL 70

Assisted Solution

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

Author Comment

by:knowlton
ID: 41738046
0
 
LVL 33

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:knowlton
ID: 41741367
Thank you both!

Tom
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Getting error in connectionstring with Excel. 30 45
bound data table problem 2 32
Convert Ctime to date time in textfile? 7 29
Why use this lambda? 12 28
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.

807 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