Hi..

I have this property :

Public Property Get NewEnum() As IUnknown
'this property allows you to enumerate
'this collection with the For...Each syntax
Set NewEnum = mCol.[_NewEnum]
End Property

I am trying to use it to go through my collection of objects. mCol is a collection of objects. I dont have a clue what IUnknown is. This property was automatically created by VB itself. Can anyone help me in using this property in a For.. Each syntax. HELP PLEASE!!!

Collection Class is called Products
Single Class is called Product

mCol has the following properties:

mCol(Index)
mCol.Item. -> then properties of the single class Product
mCol.Add
mCol.Remove
mCol.Count

Basically i want to Enumerate all the objects then use mCol(Index) to list them in...


Please Help me