radioengineeruk
Member
- Joined
- Mar 13, 2007
- Messages
- 5
- Programming Experience
- Beginner
Hi
Newbie to vb.net - been playing for around 8 weeks now.
I've got a lump of code that consists of a load of variables that I need to send to my.settings
Currently I've got a long bit of code that looks like this :
din1.Text = My.Settings.d1text
din2.Text = My.Settings.d2text
din3.Text = My.Settings.d3text
din4.Text = My.Settings.d4text
din5.Text = My.Settings.d5text
din6.Text = My.Settings.d6text
din7.Text = My.Settings.d7text
din8.Text = My.Settings.d8text
din9.Text = My.Settings.d9text
etc - up to 64
is there a way to do this with a loop
for N = 1 to 64
din
.text = my.settings.d
text
next
Any ideas how I do this ?
Thanks
Newbie to vb.net - been playing for around 8 weeks now.
I've got a lump of code that consists of a load of variables that I need to send to my.settings
Currently I've got a long bit of code that looks like this :
din1.Text = My.Settings.d1text
din2.Text = My.Settings.d2text
din3.Text = My.Settings.d3text
din4.Text = My.Settings.d4text
din5.Text = My.Settings.d5text
din6.Text = My.Settings.d6text
din7.Text = My.Settings.d7text
din8.Text = My.Settings.d8text
din9.Text = My.Settings.d9text
etc - up to 64
is there a way to do this with a loop
for N = 1 to 64
din
next
Any ideas how I do this ?
Thanks