Solved

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

Posted on 2011-09-08
4
169 Views
Last Modified: 2012-06-27
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
0
Comment
Question by:murbro
  • 2
4 Comments
 
LVL 6

Expert Comment

by:effes
ID: 36505948
Hi,

did you call
My.Settings.Save
after assigning the new value?
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 36505970
What is the scope of the setting? Application scope settings are read only. Change the scope to User if you want to be able to change the setting.
0
 

Author Closing Comment

by:murbro
ID: 36506012
Just the answer I needed. Thanks very much
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 36506311
Glad to help :-)
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now