Hi All on Daniweb.. I am starting a little project that needs hardware and software.. I decided to first start with the software and thats where Im having some trouble right now.. I can easily make a virtual keyboard that runs in vb.net but what i want it to do ideally is run on other programs such as typing in internet explorer or word.. I would like it to be like the on screen keyboard that windows has.. Does anyone know of anyways that this is possible in vb.net?? As of right now im using a richtextbox and I have buttons as the keys.. When you press the button it essentially does richtextbox1.text = Richtextbox1.text + (the key) .. Thanks for your help..
Pacman21
0
Light Poster
Recommended Answers
Jump to Postclass SendKeys and it's method are used to develop such a type of application.
Jump to PostTake a look at http://msdn.microsoft.com/en-us/library/system.windows.forms.sendkeys.aspx
It is probably case sensitive so try "{ENTER}"
Jump to PostCan you upload your project so I can take a look at it? Where are you getting
SendKeys.Sleep()
? Are you exporting win32 calls?
Jump to PostUse,
SendKeys.Send("\n"); // Enter SendKeys.Send("\b"); // Backspace
All 13 Replies
kvprajapati
1,826
Posting Genius
Team Colleague
Pacman21
0
Light Poster
Pacman21
0
Light Poster
Pacman21
0
Light Poster
mgravi
-2
Newbie Poster
kvprajapati
commented:
Your post didn't help us. OP uses VB.NET and he/she wants to get solution using .net framework not with a DNA framework.
-2
Pacman21
0
Light Poster
sknake
1,622
Senior Poster
Featured Poster
Pacman21
0
Light Poster
sknake
1,622
Senior Poster
Featured Poster
Pacman21
0
Light Poster
kvprajapati
1,826
Posting Genius
Team Colleague
Pacman21
0
Light Poster
Pacman21
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.