the keys length dosent really matter right now, this was just a test for functionality. but thank you for the post any way that would have been a valid point. i will try moving the print statement, thanks again. so i ralised what i retard i am why i even had the print function inside the loop to begin with is beyond me. i was tired when i started this and had just finished an alpha only encryption program and was wanting to move to alpha numerics and fill spaces with somthing other than white space. so any way thanks for pointing that out, i feel retarded lol
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 ...