title: VB disable "|" key
body: <p>I'm trying to disable the | key in a textbox as my csv file uses the character as a separator. However, I tried many methods and searched on google but I can't find any solutions related to that.</p>
  <p>My code:</p>
  <pre><code>    Private Sub txtRemarks_KeyDown(sender As Object, e As KeyEventArgs) Handles txtRemarks.KeyDown
          If e.KeyCode = Keys.Shift And e.KeyCode = AscW(220) Then
              e.SuppressKeyPress = True
          End If
      End Sub
  </code></pre>
  <p>Wonder if that is possible? Thanks</p>