M
Mike
Checking whether an item exists in a collection before adding it ... (Key is
always a string and in this case is the value as well)
As Net has a Contains method ... is the following a safe alternative to the
VB6 On Error Resume Next?
If Not colDs.Contains(sKey) Then
colIDs.Add(sKey, sKey)
End If
Thanks,
Mike
always a string and in this case is the value as well)
As Net has a Contains method ... is the following a safe alternative to the
VB6 On Error Resume Next?
If Not colDs.Contains(sKey) Then
colIDs.Add(sKey, sKey)
End If
Thanks,
Mike