Hey all i am trying to find some code that would allow me to run a program with administrator rights and also windows xp sp2 compatibility mode. But i have not yet found any code to do that using VB.net
Any help/links would be great! Thanks!
David
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you don’t have to pass command line params, you can create a shortcut to the exe, and set it to compatibility mode and admin there. Then just ShellExecute the shortcut.