Feb 14th, 2005, 09:46 AM
#1
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
Last edited by wossname; Feb 25th, 2005 at 04:16 AM .
I don't live here any more.
Feb 23rd, 2005, 10:09 AM
#2
Re: Saving GLOBAL Application settings
This can also be used as a binary serialization example.
I don't live here any more.
Sep 13th, 2005, 06:06 AM
#3
Frenzied Member
Re: Saving GLOBAL Application settings
If you find my thread helpful, please remember to rate me
Oct 27th, 2005, 05:10 PM
#4
Addicted Member
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!
Nov 9th, 2005, 06:36 AM
#5
Re: Saving GLOBAL Application settings
Thank you,
I don't live here any more.
Mar 9th, 2006, 07:54 PM
#6
New Member
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
Forum Rules
Click Here to Expand Forum to Full Width