hi,
I have a pictureBox and it contains few comboBoxes with lables, how can i loop thro all the ComboBoxes and Lables in the PictureBox?
I tried using the following code but it did not work..
ThanksCode:Dim c As Control For Each c In PictureBox.Controls If TypeOf c Is ComboBox Then MsgBox "Comob" If TypeOf c Is Label Then MsgBox "Label" next c
Manzoor![]()




Reply With Quote