>I have created a com dll in visual foxpro 8.0. One of the methods creates a collection object and places it into one of the properties of the dll. when i use this dll in visual basic and use this method i cannot access the items in the collection. i can access the count property but not the items ???
Are you saying the collection object is assigned to a property? It seems like the collection object should be created (CREATEOBJECT()) inside your COM and collection items assigned there.
If the collection needs to be 'built' outside the COM, then, after it is built, it could be passed as a parameter to a COM method that would assign it a COM reference.
If you can, summarize the code and post it. The collection as well as the 'property' assignment of the collection in the COM.
Imagination is more important than knowledge