IainTheVBALearner
asked on
Resetting default value of text box at runtime – VB.Net, Visual Studio 2003, Windows Applications.
Hello
I’d like to have a user open my .exe Windows Application, type some text in a text box, hit a button which makes this text it’s default the next time the user opens the applications.
Is this possible without storing the default text in a text file?
Any suggestions would be appreciated.
Thanks.
Iain
I’d like to have a user open my .exe Windows Application, type some text in a text box, hit a button which makes this text it’s default the next time the user opens the applications.
Is this possible without storing the default text in a text file?
Any suggestions would be appreciated.
Thanks.
Iain
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
What a palava....thanks for the comments!
however In VS2005 you can double click "My Project" and in settings, type in the setting name, type and scope (per user or for all users).
To access/set these values:
My.Settings.MySetting = "Test Value"
These will be saved when the application closes if save my setings on shutdown is checked or use
My.Settings.Save