Results 1 to 6 of 6

Thread: Saving GLOBAL Application settings

  1. #1

    Thread Starter
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Saving GLOBAL Application settings

    This tutorial is in response to a thread posted here.

    The attached project has 2 forms with settings on each. The second form has a list to which you can add as many settings groups as you like.

    The settings data is automatically serialised to settings.dat in the exe directory.

    Try it for yourself:
    Compile and run the program, change some settings, then close and restart the program. The changes will be retained!

    UPDATE!!! COMBOBOX FIXED

    If you find this useful why not gimme a rating?
    Attached Files Attached Files
    Last edited by wossname; Feb 25th, 2005 at 04:16 AM.
    I don't live here any more.

  2. #2

    Thread Starter
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: Saving GLOBAL Application settings

    This can also be used as a binary serialization example.
    I don't live here any more.

  3. #3
    Frenzied Member dinosaur_uk's Avatar
    Join Date
    Sep 2004
    Location
    Jurassic Park
    Posts
    1,098

    Re: Saving GLOBAL Application settings

    This rocks...
    If you find my thread helpful, please remember to rate me

  4. #4
    Addicted Member darth vador's Avatar
    Join Date
    Jul 2005
    Posts
    148

    Thumbs up Re: Saving GLOBAL Application settings

    Yes. It's great.

    I appreciate you taking the time to post this sample. I've learned a lot from it.

    Thanks!

  5. #5

    Thread Starter
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: Saving GLOBAL Application settings

    Thank you,
    I don't live here any more.

  6. #6
    New Member
    Join Date
    Mar 2006
    Posts
    1

    Re: Saving GLOBAL Application settings

    I still think there are some cases where you may want to parse the whole forms ( or most of the relevant properties ). For example , I am trying to document the GUI by preserving its state . I dont know serialization with metadata and Reflection will do it or not.

    Izzat

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