BUG: Removing Collection Elements Takes Longer Than Expected (189735)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q189735 SYMPTOMS
In Visual Basic 6.0, removing elements from the end of a collection takes
longer than removing elements from the beginning.
CAUSE
When removing an element from a collection, Visual Basic 6.0 begins at the
beginning of the collection and traverses the collection until the desired
element is reached, then that element is removed.
RESOLUTION
Remove elements from the beginning of the collection rather than the end.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products
listed at the beginning of this article. We are researching this
bug and will post new information here in the Microsoft Knowledge
Base as it becomes available.
Modification Type: | Major | Last Reviewed: | 5/13/2003 |
---|
Keywords: | kbbug KB189735 |
---|
|