|
-
Jan 30th, 2001, 08:48 AM
#1
Thread Starter
Addicted Member
Hi,
VB Created this function for me..
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 dont know what IUnknown is but it compiles fine.. What i want to know is how can i use the above property in a for loop as it mentions in the comment??
This is working will classes.. and this is in the collection of classes. The aim of using the for loop is that i can go through each object one at a time and do some adding. Please help anyone!!!! the class name for the collection is called products while the single class is called product..
Please HELP!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|