Link to home
Start Free TrialLog in
Avatar of Murray Brown
Murray BrownFlag for United Kingdom of Great Britain and Northern Ireland

asked on

VB.net 2010 Saving the contents of a text box as the value of a setting

Hi

I worked out how to load the value of a string setting to a text box
Me.TextBox1.Text = My.Settings.Setting_Path
How do I do the reverse
My.Settings.Setting_Path = Me.TextBox1.Text  does not work
Avatar of effes
effes
Flag of Germany image

Hi,

did you call
My.Settings.Save
after assigning the new value?
ASKER CERTIFIED SOLUTION
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Murray Brown

ASKER

Just the answer I needed. Thanks very much
Glad to help :-)