I deleted the source code posts, as they are un-workable in this format to someone who wants to work with them. Please either post the link where they can be found, or post the files as attachments for someone to grab.
Had you been trying to get your code corrected / bug squashed, then we could have looked at them.
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls
If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then
For Each subCtrl As Control In ctrl.Controls
If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then
If subCtrl.GetType Is ...