I know I'm not the 1st one asking this question but I ran into a little problem while trying to open Microsoft On-SCreen Keyboard.
I'm developing an app that requires login. I decided to add the possibility to use the OSK as an extra security measure.
I used this code:
using System.Diagnostics;
private void btnOSK_Click(object sender, EventArgs e)
{
Process.Start(@"C:\windows\system32\osk.exe");
}
and this
private void btnOSK_Click(object sender, EventArgs e)
{
System.Diagnostics.Process.Start("osk");
}
The problem is that every time I click the OSK button I receive the message "Could not start On-Screen Keyboard".
This happens on my Win7 x64 machine. Please note that UAC is disabled, I am using an admin account and I run VS2008 as admin. Same thing on Vista.
However this doesn't happen on Windows XP. Moreover OSK.exe runs fine(the file is not corupt o my machine - know this sound stupd but I tried this too).
Any ideas how to solve this? If i try running notepad or calc or paint everything works fine....

New Topic/Question
Reply




MultiQuote







|