G
Guest
Hello list memebers,
I'd like to use a C# Collection with from within Visual Basic 6. I have
derived a my ComInterface class from IList and implemented those Members.
Everything seems to work fine at this point. But when i try to itterate
through the collection from within Visual Basic i get the Error:
"Object doesn't support this property or method "
I know the reason for that is, that i must implement a public function Item.
The Problem is that the IList interface forces me to implement "public object
this[int index]" and now i cannot publicate another function "Item" with the
same functionality. AFAIK Visual Basic need the NewEnum function and the Item
function to work properly.
May anyone of you be so kind and help me, i'd be deeply grateful ??
I'd like to use a C# Collection with from within Visual Basic 6. I have
derived a my ComInterface class from IList and implemented those Members.
Everything seems to work fine at this point. But when i try to itterate
through the collection from within Visual Basic i get the Error:
"Object doesn't support this property or method "
I know the reason for that is, that i must implement a public function Item.
The Problem is that the IList interface forces me to implement "public object
this[int index]" and now i cannot publicate another function "Item" with the
same functionality. AFAIK Visual Basic need the NewEnum function and the Item
function to work properly.
May anyone of you be so kind and help me, i'd be deeply grateful ??