I am tring to pass a Image() to a sub? but I can't seem to get to syntax right.So How do you do this.
Private Sub Image1_Click(Index As Integer)
getImageArry Index, Label1, Image1
Sub getImageArry(num As Integer, lbl As Label, img() As Image)
lbl = img(num).Name & "(" & num & ")"
I am getting "Type mismatch: array or user defined type expected. Help and a sample of code will be appricieted.
(this is just a test code, I attempted doing something like this in my program but I run in to the same problem