Serializing a Form

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Wagz
    New Member
    • Feb 2008
    • 11

    Serializing a Form

    Hi,

    I'm trying to save the state of a form in VB 2005 to a file so that the next time the program starts up the form will be reloaded to it's last state.

    I did a bit of searching and it seemed to me that serialization is the way to accomplish this, but as far as I can tell you cannot serialize the entire form or just the controls on the form.

    Therefore, I was hoping if someone could point me in the right direction. How do I save the sate of the program so that it can be reloaded the next time the program starts.

    Thanks in advance,

    Wagz
  • lotus18
    Contributor
    • Nov 2007
    • 865

    #2
    One way to accomplish this is using a configuration file (.ini). Write all the settings of a form. : )

    Rey Sean

    Comment

    Working...