How do you set a textBox.text value on exit?
I would like to make the user defined textbox value saved as the value of the textbox for the next time the form is opened
Is there another way to do this?
Printable View
How do you set a textBox.text value on exit?
I would like to make the user defined textbox value saved as the value of the textbox for the next time the form is opened
Is there another way to do this?
I had to do this once before. I set a registry value on TB exit, and read it on TB entry. I'm sure there is a cleaner way to do it, but it fit the bill for my project. The ultimate benefit was holding the value after the application is closed.
Are trying to save the value when the program exits and starts back up or when keeping the program open and closing and opening the form?