title: How to write code for backspace and space in vb .net
body: <p>I am programming virtual keyboard with images, when I press the key it will display image but am not able to code space and backspace...   </p>
  
  <pre><code>Dim myDir As String = "C:\Users\ASUBUSU\Desktop\keyboard\java pgm\"
  Dim img As Image = Image.FromFile(myDir &amp; "sna.png")
  Dim orgData = Clipboard.GetDataObject
  Clipboard.SetImage(img)
  Me.RichTextBox1.Paste()
  Clipboard.SetDataObject(orgData)
  </code></pre>
  
  <p>How to write code for space and backspace.</p>