Hi all
I am looking for some help on the below code - the problem is that I just don't know how to dim up a variable name that needs a variable added to it's end... Any help?
For i = 1 To Count
' Dim image_var(i) As String ' I need the variable "image_var(i)" here to vary with the loop's value of i
Dim image_var(i) As New LinkedResource(Server.MapPath(myArray(0)))
' need also to add 1 to the 0 in myArray(0), after each go through the loop
image_var(i).ContentId = "imageContentId_" + i.ToString
htmlView.LinkedResources.Add(image_var(i))
Next i