Ok, let's say you are looking for a button control on a tabPage in your tab control. This is how you would do it:
Dim theControlYourLookingFor As Button
For Each ctrl As Control In TabControl1.SelectedTab.Controls
If TypeOf(ctrl) is Button Then
theControlYourLookingFor = CType(ctrl, Button)
If theControlYourLookingFor.Name = "yourbutton" then
End If
End If
Next
- Pete