Solved

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

Posted on 2014-03-03
5
4,439 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 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

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…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

785 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