Hi people,

I'm a beginner at this so please bear with me...
I'm trying to write a program and I need to get a for next statement that works with textboxes.
I know from vba that the me.controls statement will do just that, but apparently If i try this in vb.net 2005 this won't work: I get a "property item is read only" error.

I tried this code:
Code:
dim i as integer
for i = 1 to 10
  me.controls("textbox" & i ) = i
next i
what am i doing wrong and how cn i make it right