>>>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.
Just a small add-in. I see that some OCX cause memory problems, but fortunately only for APP running. When I run EXE all these problems gone.
Edward Pikman
Independent Consultant