kanber

shellExecute run to osk.exe

Recommended Posts

Hi,

I am trying to run windows keyboard exe with shellExecute. But it is not opening. I tried different way to run.


system.ShellExecute("C:\WINDOWS\system32\osk.exe","open","","","normal")
system.ShellExecute("osk.exe","open","","","normal")

Share this post


Link to post
Share on other sites

You may have to either run a batch file, or run cmd.exe with osk as the parameter, and /C or /K.  Open cmd then type "help cmd" to see the various flags for cmd.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now