I need to reload the most recently used control in a panel after program shutdown and restart. The panel in question holds a series of form instances as part of a wizard. If the user closes the app, I need to reload the last form showing in the panel (I am not concerned here with persisting data the user has entered).
How can I store something in My.settings that will allow this? I tried just storing the form as a form (hehe), but I guess if I must go that route I'll get roped into binary formatting and serialization and stuff. Been searching for this for 1/2 day and now my brain hurts.
If I just store the name of the form's class as a string, how can I use that to create a new instance of it at restart, and load it into the panel? I can't convert a String type into a Form type.
For example, where the setting Name, Type, Scope and Value are WizScrn, String, User, [no default]
THANKS
How can I store something in My.settings that will allow this? I tried just storing the form as a form (hehe), but I guess if I must go that route I'll get roped into binary formatting and serialization and stuff. Been searching for this for 1/2 day and now my brain hurts.
If I just store the name of the form's class as a string, how can I use that to create a new instance of it at restart, and load it into the panel? I can't convert a String type into a Form type.
For example, where the setting Name, Type, Scope and Value are WizScrn, String, User, [no default]
THANKS