使用IsAdmin():::提高Admin权限来提高UAC防护等级 [英] Raising UAC shield using IsAdmin() ::: Getting Admin permission
本文介绍了使用IsAdmin():::提高Admin权限来提高UAC防护等级的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要举起UAC盾牌.我在网上找到了代码
MyBase .OnLoad(e)
如果 不是 IsAdmin()然后
AddShield(我 .elevateButton)
结束 如果
但这是行不通的.它在IsAdmin()上返回错误,提示未声明IsAdmin()".
请告知我如何使用它以及如何举起UAC防护罩.
感谢
解决方案
我的猜测是,您需要返回到有问题代码的站点,并查看它们是否定义了名为IsAdmin()的函数. /blockquote>
Hi,
I need to raise UAC shield. I found code over net
MyBase.OnLoad(e) If Not IsAdmin() Then AddShield(Me.elevateButton) End If
But it does not work. It returns error on IsAdmin() saying "IsAdmin() is not declared"
Please advise how I can use it and how I can raise the UAC shield.
Thanks解决方案My guess is that you need to go back to the site where you got the code in question and see if they defined a function named IsAdmin().
这篇关于使用IsAdmin():::提高Admin权限来提高UAC防护等级的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文