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

  • SEARCH
  • Home
  • 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 688507
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T02:14:13+00:00 2026-05-14T02:14:13+00:00

By default settings are stored at: C:\Documents and Settings\\Local Settings\Application Data\<Project Name> How can

  • 0

By default settings are stored at: C:\Documents and Settings\\Local Settings\Application Data\<Project Name>

How can I change this path to application directory. I also don’t want to have different files for different users. How make the settings global?

I tried to change the scope of the settings to “application” but then I cannot change them at runtime.

  • 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-14T02:14:13+00:00Added an answer on May 14, 2026 at 2:14 am

    Using the default built-in behavior you can’t!

    Q: Why is the path so obscure? Is there any way to change/customize
    it?

    A: The path construction algorithm has to meet certain rigorous
    requirements in terms of security,
    isolation and robustness. While we
    tried to make the path as easily
    discoverable as possible by making use
    of friendly, application supplied
    strings, it is not possible to keep
    the path totally simple without
    running into issues like collisions
    with other apps, spoofing etc.

    The LocalFileSettingsProvider does not
    provide a way to change the files in
    which settings are stored. Note that
    the provider itself doesn’t determine
    the config file locations in the first
    place – it is the configuration
    system. If you need to store the
    settings in a different location for
    some reason, the recommended way is to
    write your own SettingsProvider. This
    is fairly simple to implement and you
    can find samples in the .NET 2.0 SDK
    that show how to do this. Keep in mind
    however that you may run into the same
    isolation issues mentioned above .

    I agree with Robert Harvey’s answer do it yourself, or write a custom settings provider.

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

Sidebar

Related Questions

By default netbeans stores it's settings in a directory called .netbeans under the user's
I'm trying to save some XML-Data in my UserSettings (Properties.Settings.Default.UserSettings) in a .NET Winforms
I installed Visual Studio 2005 ( with SP1 ) and made the default settings
I use _vimrc to configure my vim 7.2 (windows) default settings. One setting set
I need to know the default port settings for the following services SQL Server
I have the following code: private static void WriteStartupInfo() { Settings settings = Settings.Default;
I tried to override the settings in the default stlyesheet that comes with the
I know of two methods of setting a default parameter, but I would like
I'm looking for help setting a new default property value for an inherited control
By default, I think my vimrc setttings enable the auto-wrapping. However, sometimes, I would

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.