Solved

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

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
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 demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

743 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now