I try to start osk.exe, and I continue to receive the message "Cannot start osk". The problem is that my project is installed on x86 (I am using ms access database). If I switch to x64 or Any CPU, everything works fine, but the database no longer works. I tried this
using System.Diagnostics;
private void btnOSK_Click(object sender, EventArgs e)
{ Process.Start("osk.exe");
Process.Start(@"C:\windows\system32\osk.exe");
}
I also tried to run SysWOWW \ osk, but that also did not work. In addition, my application should work on both x86 and x64 computers. Is there any way around this? This is really frustrating.
source
share