I am currently using My.Settings properties to save user generated settings for button controls. However, with 20 buttons per form, I'm writing a lot of code. Is there a way to pass a My.Settings property name as a variable and have it read by a method? For example:
Code:
Public Sub GetInput (ByVal propertyName As String)
My.Settings.[propertyName] = someValue
End Sub