0

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

StealthRT
  • 10,108
  • 40
  • 183
  • 342

1 Answers1

1

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.

Ben
  • 34,935
  • 6
  • 74
  • 113