Click here to Skip to main content
15,890,512 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i need to call on screen keyboard on my widows form application.

how can i do this in vc.net 2008??

what api i need to use to run hide show the on screen keyboard??i using windows XP.
Posted
Updated 29-Aug-10 19:26pm
v2

There's an on screen keyboard built in to XP ? I've always written my own.
 
Share this answer
 
Comments
CPallini 26-Aug-10 5:59am    
Yes: http://www.microsoft.com/windowsxp/using/setup/tips/onscreenkeyboard.mspx
Hi,

actually the On Screen Keyboard is an executable. You just need to start the executable using the System::Diagnostics::Process class.
The path of the exe is:
"C:\windows\system32\osk.exe"
you can also start the application without the complete path
Process::Start("osk");


Here is a link from the MSDN that might help you with the Process::Start method:
http://msdn.microsoft.com/de-de/library/53ezey2s%28v=VS.80%29.asp[^]
 
Share this answer
 
Comments
tuolesi 30-Aug-10 3:49am    
wao...this is wat i looking for...thx man
tuolesi 30-Aug-10 3:56am    
btw...how do i close the osk using this process class???
JF2015 30-Aug-10 4:50am    
you can use the Process::Close method:
Have a look here:
http://msdn.microsoft.com/de-de/library/system.diagnostics.process.close.aspx

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900