07-03-2014 01:53 AM
Hello All,
I would like to close the On Screen Keyboard programmatically, When i run "task kill" i get an error message as shown. How can i do this??
07-03-2014 01:59 AM
How do you format the taskkill command?
07-03-2014 02:06 AM
How do you format the taskkill command?
The command format is "taskkill /im <process Name> /f". You need to have admin rights to perform this.
07-03-2014 03:57 AM
Hey Anand
It doesnt close the osk. Works on other programs.
07-03-2014 04:03 AM - edited 07-03-2014 04:07 AM
So you always get the same error? I have windows 7 and have admin rights, it worked without an issue. What is your OS?
Also did you check the error in Terminal for the system exec.vi?
07-03-2014 04:08 AM
Windows 7 only. How do i enter in admin mode using command prompt itself.
07-03-2014 04:24 AM
I am afraid you cannot do that. Even if you are not in the admin mode you will not get the error, you would get a standard error from the "Standard error" output. Clear the error before the "System exec.vi" and then execute and also check the Standard error and other output.
07-03-2014 04:38 AM
Anand.
I am aware that standard error output terminal. It says "access is denied". Thats why asked how to enter admin mode to execute the same
07-03-2014 11:26 PM
Hey All,
Any inputs on how to enter admin mode in command prompt using system exec.
07-04-2014 05:29 AM
Hi Shaper,
No clues about it using command prompt using system exec BUT
after building your app, you can modify your application access level by modifing the manifest file.
I bet these links can help you for that ;
http://zone.ni.com/reference/en-XX/help/371361K-01/lvdialog/windows_security_page/
http://zone.ni.com/reference/en-XX/help/371361K-01/lvhowto/editing_app_manifests/
BR,
Vincent