A simple Sub to enumerate all the controls on a form even if they are nested as children of other controls. For example, say you add a GroupBox to your form and then add a Checkbox, this won't work:
VB Code:
  1. For Each ctl as Control in Me.Controls
  2.     If TypeOf ctl Is CheckBox Then
  3.         ' Won't find the CheckBox
  4.     End If
  5. Next

You need a recursive Sub:
VB Code:
  1. Private Sub EnumControls(ByVal ctl As Control)
  2.  
  3.         MessageBox.Show(ctl.Name)
  4.  
  5.         If ctl.HasChildren Then
  6.             For Each c As Control In ctl.Controls
  7.                 EnumControls(c)
  8.             Next
  9.         End If
  10.  
  11.     End Sub

So you can call the Sub on Form_Load as EnumControls(Me). You can also test for a type of control:
VB Code:
  1. Private Sub EnumControls(ByVal ctl As Control)
  2.  
  3.         If TypeOf ctl Is CheckBox Then
  4.             MessageBox.Show(ctl.Name)
  5.         End If
  6.  
  7.         If ctl.HasChildren Then
  8.             For Each c As Control In ctl.Controls
  9.                 EnumControls(c)
  10.             Next
  11.         End If
  12.  
  13.     End Sub