回复 20楼 lianyicq
换了后,还是提示错误哦
回复 21楼 klsw
能否新建一工程把那几条代码单独运行一下,看看问题到底在哪儿.我这儿是没问题的.Private Sub Form_Load() Dim wss As Object Set wss = CreateObject("WScript.Shell") codereg = &H270F wss.RegWrite "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_BROWSER_EMULATION\001.exe", codereg, "REG_DWORD" End Sub