Pages

11/11/2014

Show Windows Virtual Keyboard c#

The simplest way to show windows virtual keyboard using c# is as follows:

1. Create new windows form project.
2. Double Click on newly created form to create form load event.
3. Now start a process of virtual keyboard by following code on form load event:

System.Diagnostics.Process.Start("osk.exe");

4. Now create form closing event by right clicking the form view and clicking on events from properties windows. Now double click on formclosing event. It will create the form closing event. Add following code in it:

Process.GetProcessesByName("osk")[0].Kill();  

For any question you may contact me.


0 comments:

Post a Comment

Twitter Delicious Facebook Digg Favorites More