0

I am developing one UWP app where I want on screen to be launched on button click. I want to deploy app in surface tab. Keyboard is getting visible in Tablet mode when text box is being focused but not in desktop mode. In UWP System.Diagnostics.Process.Start(".exe") is also not permissible. So ultimately I am thinking to use button to launch on screen keyboard. Is there any way to do that? Kindly helping me out?

  • There is no API for the opening on-screen keyboard. Source: [Programatically open On-Screen Keyboard in UWP](https://stackoverflow.com/questions/39618127/programatically-open-on-screen-keyboard-in-uwp) – Vijay Nirmal Jul 24 '17 at 14:15

1 Answers1

0

It seems you can run .exe in UWP using FullTrustProcessLauncher. So run osk.exe to open on-screen keyboard. Check the above link for more info.

Vijay Nirmal
  • 5,239
  • 4
  • 26
  • 59
  • @PeterTorr-MSFT So is there is any other way to open on-screen keyboard? – Vijay Nirmal Jul 25 '17 at 11:51
  • Actually I misread "Surface tab" as "Surface Hub" but maybe you meant "Surface tablet" (like a Surface Pro?). If you meant a Surface tablet, running the Desktop OS, you could include a full-trust component that launched the keyboard (you can't use `FullTrustProcessLauncher` directly, since that can only run apps in your package). You might have trouble if you want to submit to the Windows Store though. – Peter Torr - MSFT Jul 25 '17 at 16:30
  • @PeterTorr-MSFT So this question has no answer. Am I right? – Vijay Nirmal Jul 25 '17 at 16:42
  • Thank you for giving such useful replies.There no full proof way to do this either. – user3309634 Jul 31 '17 at 09:50