• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 312
  • Last Modified:

VB error "Control Array element '12297' doesn't exist

Hello,

I have a VB application without the source code. I have been running to some issues lately and I get few error messages when I enable the logs for the application. the logs shows this:

error:[frmDisplay][ProcessMessages]
340::Control array element '12297' doesn't exist.
error:[frmDisplay][ProcessMessages]
340::Control array element '2352' doesn't exist.
error:[frmDisplay][ProcessMessages]
340::Control array element '2442' doesn't exist.

more of these error with random number...

what is this exactly and what does it mean?

Thanks


0
ezzadin
Asked:
ezzadin
1 Solution
 
Tom BeckCommented:
Somewhere in the code there is a loop running that is traversing the objects of an array. Either objects are being removed by some other piece of logic and the loop cannot find the missing object or the loop gets to the end of the objects in the array and is expecting another object but not finding it.

Without access to the source code and a way to modify it and re-compile, there's no way to prevent the error from happening.

Here's a web site for a description of the error:

http://msdn.microsoft.com/en-us/library/aa265782(v=vs.60).aspx
0
 
ezzadinAuthor Commented:
Thanks for your reply. There are two EXEs, the second one reads a list of data from a table (sql server) and it seems once there are too many data in that table I'm getting that error.

There were about 1900 records and as soon as I deleted 800 records, the error was gone. This seems to be application design issur.

Thanks  
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now