Advertisement
Guest User

Untitled

a guest
Dec 14th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. Dim badChars As String = "abcdefg"
  2. If txtNumber.Text.Count(Function(c) badChars.Contains(c)) > 0 Then
  3. MsgBox("TextBox contains bad characters")
  4. cmdInsert.Dispose()
  5. End If
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement