<%
Set OperationRegistry=server.CreateObject("WScript.Shell")
OperationRegistry.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\Error Dlg Displayed On Every Error","no"
set OperationRegistry = nothing
%>
WshShell.RegWrite 错误 '80070005'
注册键值 "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\Error Dlg Displayed On Every Error\" 的根路径无效。
楼上说的很对,但这是没有办法的办法了,麻烦那位看一下我上面的程序了,谢谢!
<%
Set OperationRegistry=server.CreateObject("WScript.Shell")
OperationRegistry.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\Error Dlg Displayed On Every Error","no"
set OperationRegistry = nothing
%>
为什么会出错呀!
'修改注册表
Set OperationRegistry=server.CreateObject("WScript.Shell")
OperationRegistry.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\Error Dlg Displayed On Every Error","no"
set OperationRegistry = nothing
'修改注册表结束
提示:
WshShell.RegWrite 错误 '80070005'
注册键值 "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\Error Dlg Displayed On Every Error" 的根路径无效。
这是什么错误,路径是对的呀?