>>Does anyone know what code or properties can cause stacking errors, such as insufficient stack space.
>>
>>I am using thisform.release and clear events and I still encounter these errors, however it has been suggested that perhaps something is constantly looping and causing this error to occur.
>>
>>Any thoughts?
>
>I've seen two causes:
>
>1) Looping Refresh calls
>2) Looping UDF calls in while loop with bad terminate condition
In addition to what Bruce said:
1. timers that fire and call methods which can not complete before the timer fires again
2. MSComm32.ocx OnComm events, calling methods that can not be responded to fast enough.
3. Any other recursion that that exceeds nesting limits.
Glenn