|
-
Jul 5th, 2000, 09:47 PM
#1
Thread Starter
New Member
I got a problem with the collection object in Visual Basic 6.
A maximum of 256 items can be added in a collection. But, if you pass this limit, no more item are add in collection, but the count property continue to expand.
Example:
Dim colTest As New Collection
Dim iCpt As integer
For iCpt = 1 To 300
colTest.Add iCpt
Next
The collection contents 256 items, but the count property is 300.
Why?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|