Pages

11/11/2014

c# and asp.net development on Ubuntu

MonoDevelop  is the tool used to develop .Net language applications on ubuntu
To install on Ubuntu use terminal with following command:

sudo apt-get install monodevelop


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.


Twitter Delicious Facebook Digg Favorites More