Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 305237
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T07:21:17+00:00 2026-05-12T07:21:17+00:00

Why would/should I use a .settings file instead of taking the information and storing

  • 0

Why would/should I use a “.settings” file instead of taking the information and storing it in a flat file? How do I access and modify the settings from this window from my application windows. Do I need to create an instance of the file or is it static?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T07:21:18+00:00Added an answer on May 12, 2026 at 7:21 am

    Why would/should I use a “.settings”
    file instead of taking the information
    and storing it in a flat file?

    You can store it in a flat file. But, with C# in VS IDE there is a default support to store and access these settings

    From MSDN:

    ….allows you to create and access values that are persisted between application execution sessions. These values are called settings. Settings can represent user preferences, or valuable information the application needs to use. For example, you might create a series of settings that store user preferences for the color scheme of an application. Or you might store the connection string that specifies a database that your application uses. Settings allow you to both persist information that is critical to the application outside of the code, and to create profiles that store the preferences of individual users.

    How do I access and modify the
    settings from this window from my
    application windows. Do I need to
    create an instance of the file or is
    it static? How do I access and modify
    the settings from this window from my
    application windows.

    Refer to these links:
    http://msdn.microsoft.com/en-us/library/aa730869%28VS.80%29.aspx
    http://www.jeffkwak.com/blog/archive/2008/02/29/winform-settings-with-c.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Should I use something like maven for this? Or would finding them as they
Accuracy Vs. Precision What I would like to know is whether I should use
I would like to write a dictionary. What algorithms/structures should I use? Each word
How can I force validation when user clicks button? One would think this should
This should be pretty straightforward I would think. I have this string: [quote=Joe Johnson|1]Hi![/quote]
I'm trying to read variables from a batch file for later use in the
I've read I should use money , but in todays fast paced world maybe
Is there any use for FormsAuthentication.Authenticate() is real-world web applications? Why should we write
Would you guys think that a master page should be part of the company's
Would like to know what a programmer should know to become a good at

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.