>you wont need it because filenames don't contain spaces in them and you are using it for files.
I can create files on my computer which contain spaces in their filename, so in fact to be fully correct you'll need it.
But you're right in saying that the getlin() has to be getline() of course, remember that it is code `à la Ancient Dragon´ :P
(not an insult)
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 ...