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 3225090
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T16:17:57+00:00 2026-05-17T16:17:57+00:00

I am using Visual C# built in feature Settings to save some of my

  • 0

I am using Visual C# built in feature Settings to save some of my program’s options.
It looks like it is using a xml file to save my values, I can save and load settings easily, my question is if I compile the source to an application, where does it hold these values? Does it make a xml filesomewhere, if it does, then where?
I compiled a program and changed some settings, then I transferred this executable to my mom’s computer but it had default values in options. When I made changes with application in her computer, it saved everything well and it remembers those values.
Where does the program create this xml file to get settings?

  • 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-17T16:17:57+00:00Added an answer on May 17, 2026 at 4:17 pm

    The question has been asnwered here

    The user.config file is created in the <c:\Documents and Settings>\<username>\[Local Settings\]Application Data\<companyname>\<appdomainname>_<eid>_<hash>\<verison> folder. Where:

    * <c:\Documents and Settings> is the user data directory, either non-roaming (Local Settings above) or roaming.
    * <username> is the user name.
    * <companyname> is the CompanyNameAttribute value, if available. Otherwise, ignore this element.
    * <appdomainname> is the AppDomain.CurrentDomain.FriendlyName. This usually defaults to the .exe name.
    * <eid> is the URL, StrongName, or Path, based on the evidence available to hash.
    * <hash> is a SHA1 hash of evidence gathered from the CurrentDomain, in the following order of preference:
         1. StrongName
         2. URL
    
            If neither of these is available, use the .exe path. 
    * <version> is the AssemblyInfo's AssemblyVersionAttribute setting.
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the built in web server in Visual Studio to test some pags
Have just started using Visual Studio Professional's built-in unit testing features, which as I
I'm looking into using Visual Studio 2008's built in unit test projects instead of
I'm using Visual Studio 2008 and the built-in installation tools for a C# client
I am a rookie was using the Visual Studio 2008 built-in Unit Testing components,
In Visual Studio and C#, when using a built in function such as ToString(),
We're working on a project here in Visual Studio 2008. We're using the built-in
I'm using the Visual Editor to paint my Swing GUI. Can I dynamically build
I have created a feature in Visual Studio, using WSPBuilder to build the .wsp
I'm using Visual Studio 2008 Express and I would like Visual Studio (or perhaps

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.