Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2014-03-03
5
Medium Priority
?
5,413 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
  • 3
5 Comments
 
LVL 18

Assisted Solution

by:Matthew Kelly
Matthew Kelly earned 1000 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 1000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Integration Management Part 2
Suggested Courses

782 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