'am working in qt creator but have problem running my code.
It compiles alright but never executes.
And also gives the following message at the output pane 'exited at code -1073741819'
Please help me out
Clearly it is running since it "exited" just not in the way you intended.
Build and run in debug mode, if you are getting some sort of exception it should stop you where the code is going wrong. Alternitively step through the code in the debugger so you can locate by hand where it fails.
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 ...