Solved

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

Posted on 2016-08-01
4
59 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 69

Assisted Solution

by:Éric Moreau
Éric Moreau earned 250 total points
Comment Utility
0
 
LVL 5

Author Comment

by:knowlton
Comment Utility
0
 
LVL 32

Accepted Solution

by:
sarabande earned 250 total points
Comment Utility
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
Comment Utility
Thank you both!

Tom
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.

771 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now