By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,137 Members | 1,268 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,137 IT Pros & Developers. It's quick & easy.

How to write code for Backspace and Space in

P: 1
I am programming virtual keyboard with images, when I press the button it will display image but am not able to code space and backspace...

Expand|Select|Wrap|Line Numbers
  1.  Private Sub Button26_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button26.Click
  2.         Dim myDir As String = "C:\Users\ASUBUSU\Desktop\keyboard\java pgm\"
  3.         Dim img As Image = Image.FromFile(myDir &"ya.png")
  4.         Dim orgData = Clipboard.GetDataObject
  5.         Clipboard.SetImage(img)
  6.         Me.RichTextBox1.Paste()
  8.         Clipboard.SetDataObject(orgData)
  9.     End Sub
How to write code for space and backspace in button click

Mar 17 '16 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.