markleszczynski
asked on
What is the proper syntax when using My.Settings to save information?
I am trying to save the text typed into a text box when a profram closes. I would also like to have it back in the textbox when I load the form. It is a variable because when running the application it can change. i'm not looking for a default setting.
My.Settings.Item = textbox.text in the form_closing event and
textbox.text = My.Settings.Item in the form_load event.
The above doesn't work, looking for ideas. I am very new at Visual basic.
My.Settings.Item = textbox.text in the form_closing event and
textbox.text = My.Settings.Item in the form_load event.
The above doesn't work, looking for ideas. I am very new at Visual basic.
see http://www.emoreau.com/Entries/Articles/2007/03/AppSettings-revisited.aspx
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.