udi.p
February 28th, 2000, 01:27 AM
Hello !
I try to open form from anither form and i get this error :
"Out of stack space"
I check all my program and didn't find any error.
Is any buddy know what cause the error?
Thanks.
Ravi Kiran
February 28th, 2000, 05:15 AM
"Out of stack space" typically means there is a un-warrented recursion. If you are run the program for a long time and get this then it means a memory leak
Since your is not that case, (if it comes immediately) then there is an un-expected recusion, a function calling itself or un ecpectedly getting called.
Also a set of wrongly placed DoEvents can cause this. It could also happen when you set the property of a control in the event handler of the same control, in which case vb will call the function again causing some unexpected recusion. But usually this lasts for only 2 rounds. But you can check that also.
RK