Hello all, i hope you can help me as my VB skills are proving not to be as good as i thought!!

I've got an ActiveX user control that im using 10 times in my app. I've got an array with ten values and i want to send one value to each control. i.e array(2) to control2.

Heres my code, what am i doing wrong????

Dim send(10) As String
Dim iInc As Integer

For iInc = 1 To 10 Step 1
SSD(iInc).DisplayChar = (send(iInc - 1))
Next iInc


my controls are called SSD1,SSD2 etc

aha! not to worry i have cracked the problem, I had forgotten that such things as control arrays existed!!!! :cheesy: :cheesy: :cheesy: :cheesy: :cheesy: :cheesy: :cheesy:

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.