Solved

Pop up touch screen keyboard when entering text box in vb.net

Posted on 2014-03-03
5
4,811 Views
Last Modified: 2014-07-27
Is there n easy way to pop up a touch screen keyboard when entering a text box in vb?
0
Comment
Question by:SweetingA
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 18

Assisted Solution

by:Matthew Kelly
Matthew Kelly earned 250 total points
ID: 39902044
Like the Windows On Screen Keyboard (OSK) or something else? Could you post more of what you are trying to do (unless below is what you are looking for?)

Public Class Form1

    Private osk As Process

    Private Sub TextBox1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.Click
        If Me.osk Is Nothing OrElse Me.osk.HasExited Then
            If Me.osk IsNot Nothing AndAlso Me.osk.HasExited Then
                Me.osk.Close()
            End If

            Me.osk = Process.Start("osk")
        End If
    End Sub

End Class

Open in new window

0
 

Author Comment

by:SweetingA
ID: 39904041
I get an error "could not start on screen keyboard"

I am using a touch screen pc so i want the keyboard to pop up every time i enter a text box

Thanks
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 250 total points
ID: 39904191
0
 

Author Comment

by:SweetingA
ID: 39904608
I am running 64bit windows but i have checked the thread and my settings appear to be in line with the reecommendation (i.e. X86)
0
 

Author Closing Comment

by:SweetingA
ID: 40223276
Had to share the points i'm afraid, Mathews solution is perfect on a 32 bit PC as i have proven.

Unfortunately never worked on my 64 bit PC.
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question