CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2012
    Posts
    3

    Edit application.exe.config manually?

    Dear All,

    I have some settings in the exe.config. If I created my project, I am getting the application and exe.config file with my settings. But my problem is that the manuall changes in the exe.config will not be used in my application!
    I can also change my settings in appllication, but the changes are not visible in the exe.config.
    Both, my application and exe.config are placed in the same directory (there are no other files).
    For each setting I set the property GenerateDefaultValueInCode to FALSE!

    Which file use my application for the settings when not the exe.config, which is placed in the same directory? How can I force my application to use only my exe.config file, placed in the same directory, for the settings?

    Thanks for your answers.

    Daniel

  2. #2
    Join Date
    Dec 2012
    Posts
    3

    Re: Edit application.exe.config manually?

    There are two scopes for a setting: Application-scope and User-scope settings. I used the User-scope

    Check following link for more information:
    http://social.msdn.microsoft.com/For...7-2f0b25b945c0
    Last edited by daniel1972; January 8th, 2013 at 10:15 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured