[Solved] Label Array in VB.net [closed]


If you have the timer set up and working already, try something like this for your array:

'These will be your labels:
Dim oLabel As New Label
Dim oLabel2 As New Label

'Create the array from your labels:
Dim aLabels() As Label = {oLabel, oLabel2}

'loop through your array:
For each oLabel as Label in aLabels

  oLabel.Text = "your text value here"

Next

2

solved Label Array in VB.net [closed]