How do I insert a string into a variable name?
Let's say I have 10 labels named col1 to col10, and I want to give them all
the same caption - something along the lines of this:
col[1 to 10].text = ""
or
Dim currentLbl
For currentLbl = 1 to 10
col[currentLbl].Text = ""
Next
Both do not work - I have Visual Studio.Net 2003
Any help would be greatly appreciated, as I am relatively new to programming
Archived from group: microsoft>public>vb>syntax