Windows 8 keyboard open (desktop)

Hi!
I have a desktop app for windows, not windows store. I want to use touchscreen there, but I have a problem with keyboard opening. When I touch on textfield or inputfield nothing happens.
I tried TouchScreenKeyboard.Open and .Active=true, but…
Thx for any ideas!

That API won’t work on Desktop, it’s not supported, I am not even sure if there’s API for showing keyboard in desktop API.

One way to show it, is to run an executable C:\Program Files\Common Files\microsoft shared\ink\TabTip.exe, you could use Process class to do it.

Nice one!
It works, but I have another problem now… How can I close keyboard in script?
I tried foreach (Process p in Process.GetProcessesByName(“TabTip”)) {p.CloseMainWindow();}
… But it still on the screen.

Try killing the process instead of closing main window. Or do this Process.Start (“taskkill”, “/IM TabTip*”)

I tried to make it from cmd firstly. But I get a error, access is denied.

Hey, if someone needs a solution: I found it here!

I don’t know how it works, but it does, I’m happy now.

@AytoMaximo How did you manage to get that solution to work? I’m running into a problem where “System.Windows.Interop” doesn’t exist apparently. I’m running Windows 10 but building for Universial 8.1.