title: textbox validation in vb6 (disable paste option)
body: <p>validation on textbox in vb 6.0
   i tried </p>
  
  <pre><code>Private Sub Text1_KeyPress(KeyAscii As Integer)    
      If Not (KeyAscii = vbKeyBack Or KeyAscii = vbKeyDelete Or KeyAscii = vbKeySpace Or (KeyAscii &gt;= Asc("1")     And KeyAscii &lt;= Asc("9"))) Then
      KeyAscii = 0
  End If
  </code></pre>
  
  <p>but now i want that paste option should disable when i right click on textbox </p>