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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T06:56:35+00:00 2026-05-25T06:56:35+00:00

I use My.Settings object in VB.NET, which automatically gets application setting from AppName.exe.config file.

  • 0

I use My.Settings object in VB.NET, which automatically gets application setting from AppName.exe.config file.
How can I store config in file with other name, not AppName.exe.config?
I have several programs, all of them now uses their own .config file, but in fact they all are clones, and if I change some setting I need to edit several configs.

  • 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-25T06:56:35+00:00Added an answer on May 25, 2026 at 6:56 am

    This will work with <appSettings>, not sure if it works with the Settings
    Design time
    Put the app.config file in the solution folder so one level up from a project. For each of your projects in the solution explorer do the following
    – Add > Existing Item
    – Browse to app.config in solution root > Add As Link (small arrow near to the Add button)

    Run time
    You can use this code to load config (C#)

    var fileMap = new ConfigurationFileMap(pathToConfig);  
    var configuration = ConfigurationManager.OpenMappedMachineConfiguration(fileMap);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to use the built in .NET application settings. So for instance
I use logging settings as below in the settings.py file: logging.basicConfig(level=LOG_LEVEL, format=LOG_FORMAT); handler =
Currently I use Registry Settings within the Setup Project to set the file associations
I use _vimrc to configure my vim 7.2 (windows) default settings. One setting set
In WPF, Can I use binding with values defined in Settings? If this is
Currently, we use a giant configuration object that is serialized to/from XML. This has
I've been tasked with porting/refactoring a Web Application Platform that we have from ASP.NET
I have a Generic HTTP Handler (*.ashx) in my ASP.Net application which performs some
I am having trouble setting up the configuration of Spring.Net so that I can
I have a C# .net winforms application with two forms which connects to sql

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.