Hi All,
Wondering how to achieve doing this in VB.net. The codes below are from VB6
In vb.net, the codes i have used are exactly the same until the part that is highlighted in RED which i could not find the corresponding way to do so.
Wondering how to achieve doing this in VB.net. The codes below are from VB6
In vb.net, the codes i have used are exactly the same until the part that is highlighted in RED which i could not find the corresponding way to do so.
VB.NET:
For each vcontrol in Form1.controls
if typeof vcontrol is combobox then
[COLOR="Red"]vcontrol.additem[/COLOR] ("Test1")
end if
Next