Reflection and My.Settings?

G

Guest

Hi,

Not sure if this is possible, but is it possible to late bind to a setting?
I want to be able to construct a string and then based on the value of that
string, load the setting which goes by that name in my.settings. Anyone know
if this can be done?

Thanks...

-Ben
 
H

Herfried K. Wagner [MVP]

Ben R. said:
Not sure if this is possible, but is it possible to late bind to a
setting?
I want to be able to construct a string and then based on the value of
that
string, load the setting which goes by that name in my.settings. Anyone
know
if this can be done?

'My.Settings(<property name as string>)'.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Using My.Settings and forms 4
Encrypt My.Settings setting? 4
my.Settings 2
My.Settings files 7
My.Settings with roaming profiles 2
My.Settings magic 8
A question about My.Settings 2
Data binding to My.Settings 1

Top