how to count the number of items(or say elements) in each item of a collection in vb6.0
please help

Recommended Answers

All 2 Replies

what control of collection?listbox or combo box, listview??

Hi,

Collection has already a Count property:

Dim MyCol As New Collection 
MyCol.Add "First Item"
MsgBox MyCol.Count

What are you actually looking for...?

Regards
Veena

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.