最新评论
静候良机 2011-01-20 09:41
@raulfan
[quote]raulfan:
只是换个图标?没有提示用户用管理员身份运行吧
这个怎么影响程序icon图标?[/quote]
这里指显示一个盾牌图标,如果需要影响程序图标,请参考下面的代码:
下面我们看下Manifest的内容——
<?xml version="1.0" encoding="utf-8"?>
<asmv1:assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<!-- UAC 清单选项
如果希望更改 Windows 用户帐户控制级别,请用以下节点之一替换
requestedExecutionLevel 节点。
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
[b]<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />[/b]
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
如果您希望利用文件和注册表虚拟化提供
向后兼容性,请删除 requestedExecutionLevel 节点。
-->
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>
</asmv1:assembly>
Wuya 2010-09-25 14:45
你的这个批处理文件在检测windows7版本的时候有点小问题。
我在cnblogs的另外一篇文章里下载了类似的东西直接可用。
静候良机 2010-09-25 11:11
@Wuya
我在家里的Windows7上已经用上了,我的Windows7是旗舰版的,不知道和这有没有关系,如果是家庭版可能本身没有远程桌面功能
Wuya 2010-09-24 21:36
似乎不行,在我的机器上提示:
Your operating system is not supported.
Only for Windows 7 Beta Build 7000
请按任意键继续. . .
静候良机 2010-09-21 15:48
@G yc {Son of VB.NET}
Windows 7 的远程桌面破解限制更简单,
[url=http://www.cnblogs.com/iihe602/archive/2010/09/21/1832646.html]破解Windows7只能一个用户登陆的限制[/url]
静候良机 2010-09-21 15:46
@G yc {Son of VB.NET}
Windows 7 的远程桌面破解限制更简单啊,[url=破解Windows7只能一个用户登陆的限制]http://www.cnblogs.com/iihe602/archive/2010/09/21/1832646.html[/url]
abcddd 2010-07-13 09:27
ASP.NET、AJAX、WCF、JAVA、JSP、C#、ASP.NET MVC、jQuery 不搞技术的勿进。
QQ群:14615476

