Using VS 2005 and .NET 2, I'm creating a Visual Basic windows form and trying to work with user settings. So, I add a new item to the project, select a settings file, then add a user setting (ex: customtext) via the settings designer.
Back in my VB app, if I try to do something such as:
textbox1.text = my.settings.customtext
it will tell me that customtext is not a member of my.settings, even though if I go into the settings designer, it's right there as a string with a value of "test".
I've been scouring webpages for at least a couple of hours to no avail. Any ideas?
This worked, but I'm very confused. I must have read a million code samples where people are using my.settings so I don't understand what's different about my environment. I will come back and figure that out later, I guess. Thanks for your help!