返回首页

您好,

我想改变客户端的注册码。它工作得很好,当我在我的电脑调试,但是当我部署到服务器上时,它不起作用。
任何帮助将不胜感激。

非常感谢

莉莉

==========================


<script language="javascript" type="text/javascript">

function ReadRegistry() {

var WshShell;

var Key;

try {

WshShell = new ActiveXObject("WScript.Shell");

WshShell.RegWrite("HKEY_CURRENT_USER\\Software\\Clients\\id", 12345);

Key = WshShell.RegRead("HKEY_CURRENT_USER\\Software\\Clients\\id");

alert(Key);

} catch (e) {

Key = '';

}

}

ReadRegistry();

</script>

========================== :LillyM

回答

评论会员: 时间:2