T
Tim Burr
Hi
When using vb.net I have always used the following to prevent
duplicates from being added to a listbox:
If lstDDTab.FindStringExact(txtTabName.Text) <> -1 Then
Beep()
MsgBox("Duplicate tab names not permitted.",
MsgBoxStyle.Information + MsgBoxStyle.OKOnly, "Tab Error")
txtTabName.Focus()
Exit Sub
However FindStringExact is not supported in compact framework. What
other solution is available to me?
Thanks
Tim
When using vb.net I have always used the following to prevent
duplicates from being added to a listbox:
If lstDDTab.FindStringExact(txtTabName.Text) <> -1 Then
Beep()
MsgBox("Duplicate tab names not permitted.",
MsgBoxStyle.Information + MsgBoxStyle.OKOnly, "Tab Error")
txtTabName.Focus()
Exit Sub
However FindStringExact is not supported in compact framework. What
other solution is available to me?
Thanks
Tim