I usually get this error when I have made a mistake in a "property"
function. For example:
Public Property SomeValue As Integer
Get
Return m_Value
End Get
Set ( ByVal theValue As Integer )
SomeValue = theValue
End Set
End Property
As you can see in the above, "Set", is setting the property, which is
setting the property, which is setting the property, etc. and will never
terminate (until the stack overflows). I should have written obviously:
Set (ByVal theValue As Integer)
m_Value = theValue
End Set
Anyway this is just an example of a stack overflow from a simple coding
error. Perhaps you could post your routine?
"A. Gaubatz" <an*******@gmail.com> wrote in message
news:eA**************@TK2MSFTNGP14.phx.gbl...
When I run my program, I get this error: "An unhandled exception of type
'System.StackOverflowException' occurred in mscorlib.dll". I have
isolated it to a single subroutine which involves several loops(they are
For loops, so they would not be infinitly repeating) and random numbers,
as well as manipulating strings. What exactly does this error mean. The
help file is not very clear (or maybe to complicated for me)
Thanks
*** Sent via Developersdex http://www.developersdex.com ***