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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T19:14:46+00:00 2026-06-09T19:14:46+00:00

I am working with a vb.net Windows Forms application which has Application Settings, running

  • 0

I am working with a vb.net Windows Forms application which has Application Settings, running under Windows XP.

The vs 2010 solution creates a MyApplication.exe.config but when I edit the file with notepad, the application ignores the changes even after reboot. Even if I delete the exe.config file the application still uses the settings from when it was compiled. So I decided to peek inside the exe file with a hex editor reveals the settings are encoded into the exe.

The user wide settings persist properly, but their default values are not coming from the exe.config but from elsewhere.

Is there something broken about my application or is this the way VB.Net Windows Forms Applications typically work?

Typically I develop console or service applications using C# where I can edit the exe.config without any problems.

The line in question:

If My.Settings.UseLocalOrGlobalSettingForOutputFolder.ToUpper.Equals("LOCAL") Then

The exe.config file looks pretty normal

<applicationSettings>
    <DHModule.My.MySettings>
        <setting name="UseLocalOrGlobalSettingForOutputFolder" serializeAs="String">
            <value>Local</value>
        </setting>

This is a visual studio 2010 solution with about 20 projects in it including a Setup Project. I have removed and rebuilt the project in question.

I have run out of time allowed for this project so…..

NOTE: I am going to work around this problem by not using any application-wide settings.

NOTE: I am going to work around this problem by not using any application-wide settings.

NOTE: I am going to work around this problem by not using any application-wide 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-06-09T19:14:47+00:00Added an answer on June 9, 2026 at 7:14 pm

    In app.config for the running executable look under <configuration> <configSections> <sectionGroup> and make sure the section exists: <section name="DHModule.My.MySettings"…

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

Sidebar

Related Questions

I'm working on a Windows Forms (.NET 3.5) application that has a built-in exception
I'm working on a .NET Windows Forms application. I have an event handler procedure
I am working on a Windows Forms application in C#/.Net. I want to use
Im using c# .net windows form application. I have created a database which has
I am working on a .NET C# application that has a main Form which
I am working on a .NET 3.5 Windows Forms application that will interact with
I'm working on a Windows Forms application in .NET 4.0. As I am binding
I'm working on a windows forms application (.NET 4.0). My form contains a 'Fast
I'm developing a windows forms application using VB.NET. I'm currently working on DataReport (by
I am working on windows forms application using c#.net. i have developed an application(3-tier)

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.