boxes2: You should be made aware that this message board doesn't not work like IM, IRC, or Twitter. Repeatedly posting the same message over and over again is counter-productive, as there is often a lag of a day or two before you get a response. Also, messages are not limited in size (or at least not significantly so for most purposes), so posting additional information and/or code samples is both allowable and desireable. Please give as much information as is needed to solve your problem, as clearly as possible, with no IM-style abbreviations and other incoherent text.
Finally, as I said elsewhere, please read the Forum Rules and follow the required rules; in particular, be aware that we are not going to do your work for you, and that if you are going to ask for help, you need to demonstrate that you've made a good-faith effort to solve the issue yourself.
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 ...