How to set “Run this program as an administrator” programmatically

前端 未结 7 1325
梦谈多话
梦谈多话 2020-11-29 21:59

I\'m having a problem with good ol\' bdeadmin.exe in Vista. First, let\'s get the predictable responses out of the way:

\"You should not require your application to

7条回答
  •  野性不改
    2020-11-29 22:13

    Use a wrap program which uses ShellExcute that uses "runas" as its "verb" to run the program you want.

提交回复
热议问题