Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Open and close Windows 8 touch keyboard tabtip under desktop

I need to close the tabtip keyboard from a program under Windows 8 (desktop winform .NET). I found to open it when need, run TabTip.exe to display the Windows 8 Touch keyboard, but i can't close it when i need! I tried to kill the process with process.kill but it doesn't work, someone has an idea how to do it?

Regards Jean-claude

like image 549
jcq Avatar asked Oct 22 '22 18:10

jcq


1 Answers

Tabtip.exe opens, then spawns two process before closing again. So the process.kill command does not work because the originating process is already closed.

This looks through all the open processes and closes anything tabtip related.

For Each pkiller As Process In Process.GetProcesses
      If String.Compare(pkiller.ProcessName, "tabtip", True) = 0 Then
          pkiller.Kill()
      End If
Next
like image 90
Derek Avatar answered Oct 24 '22 10:10

Derek