Can you please tell me how to edit item in VB6 collection. Ex- I have following collection -
Dim OrdLines As New Collection
OrdLines.Add (111)
OrdLines.Add (111)
OrdLines.Add (222)
OrdLines.Add (333)
OrdLines.Add (444)
Now my requirement is to edit item 3 and wants to change it let's say "ABC" How can I do this.
I think you can't. You must delete the item and re-add the modified item.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With