|
-
Jul 6th, 2000, 03:56 AM
#1
Thread Starter
New Member
I must be really thick, but how do i retrive objects froma collection!
i use the following code 2 add 2 a collection
colUsers.Add myNewUserClass, myNewUserClass.UserName
and then the follwoing 2 retirve
Dim myItem As clsUser
For Each myItem In colUsers
MsgBox myItem.UserName
Next
but the above code retrives the repeats the name of the last class i entered. WHere am i going wrong? plz 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
|