visual studio - VB Collection cannot be indexed because it has no default property? How to iterate a collection? -


    dim rs2 ihistorian_sdk.tagrecordset      ...      inti = 1 rs2.item.count          ....          histenghigh = rs2.item(inti).hiengineeringunits 

now gives error interface 'vba.collection' cannot indexed because has no default property. used work when ran code in vba 6.5 via ifix have made standalone project in visual studio 2005 gives me error.

so do? default , why not have one/need one?

thanks

never mind fixed iterating using each loop, didn't know use custom collection

    each item in rs2.item         writelogfile(item.description)         ... 

Comments

Popular posts from this blog

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - How can I merge Nodes & Webform Submissions into instances of one general Content Type in Drupal 6? -