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

Ask A Question

Stats

  • Questions 532k
  • Answers 532k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I do not believe this is possible to do. May 17, 2026 at 12:05 am
  • Editorial Team
    Editorial Team added an answer You're going to want to use get_the_term to get an… May 17, 2026 at 12:05 am
  • Editorial Team
    Editorial Team added an answer This is such a common task that you can easily… May 17, 2026 at 12:05 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

By default, the Django database host/user/password are stored in the project settings.py file in
I have a windows application that uses an assembly that stores some configuration settings
Over the years I have vacillated between having my project/source folders in a directory
Default settings makes each line where the break point is to be highlighted. Is
I would like to hack around the Android default Settings app for prototyping purposes.
is there a way to access an app's iphone user default settings from javascript?
I am trying to encrypt an email body to be stored at database, and
I have an application that uses an .xml file to load information about objects
When creating a new project using zf create project myproject it will create a
I am working on a very large Rails application. We initially did not use

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.