You want to use a newer compiler. Nothing on that source is going to work but this:
And im even reluctant about that much. TurboC++ at the time did not have any of todays standards such as namespaces,try/catch clauses, or even streams. It was just C with classes. You will want to use a newer compiler. I recommend devc++ from bloodshed.net. If you have to use dos, try finding dos binaries for MinGW. Good luck
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 ...