Skip to content
David Kittell
David Kittell

Application & System: Development / Integration / Orchestration

  • Services
    • Application Development
    • Online Application Integration
  • Code
  • Online Tools
  • Tech Support
David Kittell

Application & System: Development / Integration / Orchestration

Open On Screen Keyboard (OSK)

Posted on October 9, 2013October 26, 2015 By David Kittell

In order for this to work you need to follow these steps

  1. Go to “Project”, Select “ Properties…”
  2. Click on “Compile”, At the bottom of the screen click on “Advanced Compile Options…”
  3. Change “Target CPU:” to “AnyCPU” and click “OK”
Public Class Form1
Private oskProcess As System.Diagnostics.Process

Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
'Create the OSK Process
	oskProcess = System.Diagnostics.Process.Start("osk.exe")
End Sub


Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
		If Me.oskProcess IsNot Nothing Then
If Not Me.oskProcess.HasExited Then
'CloseMainWindow would generally be preferred but the OSK doesn't respond.
Me.oskProcess.Kill()
End If

Me.oskProcess.Close()
Me.oskProcess = Nothing
End If
End Sub
End Class
Originally Posted on October 9, 2013
Last Updated on October 26, 2015
All information on this site is shared with the intention to help. Before any source code or program is ran on a production (non-development) system it is suggested you test it and fully understand what it is doing not just what it appears it is doing. I accept no responsibility for any damage you may do with this code.

Related

Code VB.NET

Post navigation

Previous post
Next post

Related Posts

Ektron File Extension Asset Inventory

Posted on October 17, 2013October 26, 2015

Following the logic in a previous post, File Extension, this query will list Ektron asset file extensions and count them. SELECT ( CASE WHEN handle LIKE ‘%.%’ THEN reverse(left(reverse(handle), charindex(‘.’, reverse(handle)) – 1)) ELSE ” END ) AS FilePath ,COUNT(*) AS ‘Total Assets’ FROM AssetDataTable GROUP BY ( CASE WHEN…

Read More

Azure Red Hat – RHUI Update

Posted on December 27, 2016January 9, 2017

Most of the this script is based on the document “Red Hat Update Infrastructure (RHUI) for on-demand Red Hat Enterprise Linux VMs in Azure” at https://docs.microsoft.com/en-us/azure/virtual-machines/virtual-machines-linux-update-infrastructure-redhat?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json My change will first check if the update was already installed, if not it will follow the process to install See updates at: https://gitlab.com/Kittell-RedHat/AzureRepo/raw/master/AzureRedHatRepoUpdate.sh…

Read More

BASH – Picture / Video File Name Manipulation

Posted on August 19, 2023August 17, 2024

Often there are needs to rename a picture or video to help with organizing the files on a computer or in cloud storage. The code below can help to make some organization easier. For those that are not use to the date format used below, it is specifically chosen to…

Read More

Code

Top Posts & Pages

  • PowerShell - Rename Pictures to Image Taken
  • Get Windows Shortcut (.lnk) Details
  • PowerShell - UNIX SED Equivalent - Change Text In File
  • PowerShell - Backup / Restore IIS Site and Configuration
  • GitLab - Move data to different directory

Recent Posts

  • Javascript – Digital Clock with Style
  • BASH – Web Ping Log
  • BASH – Picture / Video File Name Manipulation
  • Mac OSX Terminal – Create SSH Key
  • Bash – Rename Picture

Top Posts

  • PowerShell - Rename Pictures to Image Taken
  • Get Windows Shortcut (.lnk) Details
  • PowerShell - UNIX SED Equivalent - Change Text In File
  • PowerShell - Backup / Restore IIS Site and Configuration
  • GitLab - Move data to different directory
  • Bleaching Wool using Hydrogen Peroxide
©2025 David Kittell | WordPress Theme by SuperbThemes