bberdel
asked on
'System.StackOverflowException'
I am in the process of upgrading a VB6 Application I did not write...
I am running into a problem on pretty much every form I call from the Main Form.
If I call a form by clicking a command once it is fine, however, if I call the form then close it and call it again I get an error.
An unhandled exception of type 'System.StackOverflowExcep tion' occurred in mscorlib.dll
it breaks in the windows form designer code at the line
<System.Diagnostics.Debugg erStepThro ugh()> Private Sub InitializeComponent()
BREAKS HERE => Dim resources As System.Resources.ResourceM anager = New System.Resources.ResourceM anager(Get Type(frmMu nQuarter))
Any help greatly appreciated.
Thanks!!
I am running into a problem on pretty much every form I call from the Main Form.
If I call a form by clicking a command once it is fine, however, if I call the form then close it and call it again I get an error.
An unhandled exception of type 'System.StackOverflowExcep
it breaks in the windows form designer code at the line
<System.Diagnostics.Debugg
BREAKS HERE => Dim resources As System.Resources.ResourceM
Any help greatly appreciated.
Thanks!!
are you using SQL?
ASKER
It is a Database Application but it is running off an access database.
There are some SQL Queries...
There are some SQL Queries...
by the error you are getting i think you have a cyclically executed method/function.
provide us with the code of that command you are clicking
provide us with the code of that command you are clicking
it is code that is recursing beyond allowed stack ...
oops sorry EB you said that
ASKER
This is the code after teh upgrade to open the form
Private Sub Command18_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles Command18.Click
'Open_Report Command18.Caption
VB6.ShowForm(frmMunQuarter .DefInstan ce, 0, frmMain.DefInstance)
End Sub
Private Sub Command18_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles Command18.Click
'Open_Report Command18.Caption
VB6.ShowForm(frmMunQuarter
End Sub
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks, I actually figured it out earlier today (using the same solution)
I got it from a microsoft article, but I will award you the points.
Thanks again!
I got it from a microsoft article, but I will award you the points.
Thanks again!
thanks bberdel :)