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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T14:50:20+00:00 2026-05-12T14:50:20+00:00

I have been using in some projects a xml library for my settings saving,

  • 0

I have been using in some projects a xml library for my settings saving, how it worked was like this :

saveSettings(Control control, XmlConfig config, string controlName)

It would then search all the controls inside that one (recursively), calling itself each time it found a new control, etc, and saving all their info to a xml file like :

And then load them back.

Last time I used it was in Framework 2, recently I needed it again, and re-used it, it saves the XML file like normal, but doesnt seem to update the forms after loading xml file, and I cant seem to find why, all code seems correct.

Anyone know a nice replacement? (the default one, application settings, uses an approach that plainly sucks, does approach of specifying a control to save is much more simple and works everywhere)

Thanks in advance =)

  • 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-12T14:50:20+00:00Added an answer on May 12, 2026 at 2:50 pm

    Well, I do this but more explicitly than what your describing. I put together a set of interfaces and classes to support this some time ago. They are used like the following:

    readonly ObjectSerializer _serializer;
    public MyForm()
    {
        _serializer = new ObjectSerializer(this,
            "Top", "Left", "Height", "Width",
            "_splitter.SplitterDistance");
        _serializer.ContinueOnError = true;
    }
    
    private void Form_Load(object sender, EventArgs e)
    {
        _serializer.Deserialize(new CSharpTest.Net.Serialization.StorageClasses.UserSettingStorage());
    }
    
    void Form_Closing(object sender, FormClosingEventArgs e)
    {
        _serializer.Serialize(new CSharpTest.Net.Serialization.StorageClasses.UserSettingStorage());
    }
    

    The library being used “CSharpTest.Net.Library.dll” is found at:

    http://code.google.com/p/csharptest-net

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

Sidebar

Ask A Question

Stats

  • Questions 191k
  • Answers 191k
  • 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 have something the same for Perl and php. http://cpansearch.perl.org/src/FAYLAND/OpenSocialX-Shindig-Crypter-0.03/sample/crypt.pl… May 12, 2026 at 6:11 pm
  • Editorial Team
    Editorial Team added an answer you dont have to do that anymore.. just simply use… May 12, 2026 at 6:11 pm
  • Editorial Team
    Editorial Team added an answer This one's tricky because it's an "OR" condition rather than… May 12, 2026 at 6:11 pm

Related Questions

I'm currently working on cross-platform applications and was just curious as to how other
I recently started using Eclipse at work for my Java servlet projects. I've been
For about 2 weeks now, I have been unable to run any UnitTests (built
I am looking for more advanced alternatives to xsd.exe . I am just about
I have been working with Struts for some time, but for a project I

Trending Tags

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

Top Members

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.