Hi again, i want to use on sceen keyboard when i want to click/touch a textbox, i tried to do a keyboard in vb.net but it can only focus on one form only. Can you give any idea how can i use on screen keyboard or how can i focus my keyaboard in all forms that have a textbox?Please Help , thank you :)
jez9
5
Junior Poster
Recommended Answers
Jump to PostI'm not sure I see the problem. If you run osk.exe then click in a textbox to give it focus, whatever keys you click in osk will be sent to that textbox. If you want the keys to go to a different form or textbox then give that textbox focus.
Jump to PostIf you mean a button from the on-screen keyboard then reread my post. However, I suspect you are meaning that you created your own keyboard. In that case you will need a class level variable to keep track of the last non-keyboard control that had focus. In the click event …
Jump to PostYou can find osk.exe in C:\Windows\System32. Run it and play with it. You will probably be able to avoid writing a lot of code.
Jump to PostApparently it has to do with launching a 32 bit app (osk). Try the following...
Public Class Form1 Declare Function Wow64DisableWow64FsRedirection Lib "kernel32" (ByRef oldvalue As Long) As Boolean Private osk As String = "C:\Windows\System32\osk.exe" Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load Wow64DisableWow64FsRedirection(0) Process.Start(osk) …
All 16 Replies
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
jez9
5
Junior Poster
jez9
5
Junior Poster
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
jez9
5
Junior Poster
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
jez9
5
Junior Poster
jez9
5
Junior Poster
Minimalist
96
Posting Pro
jez9
5
Junior Poster
Minimalist
96
Posting Pro
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
Minimalist
96
Posting Pro
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
jez9
5
Junior Poster
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured 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.