Welcome! Log In Create A New Profile

Advanced

Too many controls and/or windows in the application (9999).

Posted by alex.kolaric 
Too many controls and/or windows in the application (9999).
April 15, 2024 07:01PM
Hi everyone,

I got to the bottom of the problem I was asking about some time ago. I was asking if anyone experienced:

"<xxxxxxxxxxxxx> was not created by Windows" error

In WD 2024 this message was additionally extended by:

"The Sheet1 control (Tab type) has not been created for the following reason:"
"Too many controls and/or windows in the application (9999)."

We have rather complex forms for different documents. It seems that after opening 6-7 of those forms and leaving them open user exceeds some kind of Windev limit. In Windev help it is stated that the limitation per window is:

"Maximum number of controls per window Greater than 5,000.
This limit can be less depending on the operating system used."

and no other limit for the application level has been defined.

Any ideas? Any help is appreciated.

Thanks again,
Alex



Edited 1 time(s). Last edit at 04/15/2024 07:04PM by alex.kolaric.
Re: Too many controls and/or windows in the application (9999).
April 17, 2024 11:56PM
Hi.
6 or 7 forms seems too lew to exceed that limit.

Maybe you can use ControlEnum() to check the number of existing controls that exisit just before getting the error.
Re: Too many controls and/or windows in the application (9999).
April 18, 2024 12:18AM
Hi Jose,

Thank you for your response. Actually those forms are very complex. But still I was surprised that there is a limit on a number of controls within open windows. I will try to determine the actual number of controls the way you suggested.

Regards,
Alex
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: