“添加函数”时,出现 "ParameterType.Value.Length" 为空或不是对象 错误的解决办法
file:///C:/Program%20Files/Microsoft%20Visual%20Studio%209.0/VC/VCWizards/CodeWiz/MFC/Function/HTML/2052/default.htm
其实就是C:/Program Files/Microsoft Visual Studio 9.0/Common7/IDE/VsWizard.dll 这个文件的ActiveX控件在web browser control中加载不成功,被ie8的安全属性设置禁止了,这个还不能通过修改ie8设置来修正,可能要靠Microsoft Visual Studio 2008 的更新才行了。
临时解决办法,把下面这个注册表项,贴到记事本另保存成 1.reg 文件,然后导入到注册表。不过可能会影响ie的安全设置。
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Internet Settings/Zones/1000]
@=""
"DisplayName"="My Computer"
"Description"="Your computer"
"Icon"="explorer.exe#0100"
"CurrentLevel"=dword:00000000
"Flags"=dword:00000021
"1001"=dword:00000000
"1004"=dword:00000000
"1200"=dword:00000000
"1201"=dword:00000001
"1206"=dword:00000000
"1400"=dword:00000000
"1402"=dword:00000000
"1405"=dword:00000000
"1406"=dword:00000000
"1407"=dword:00000000
"1601"=dword:00000000
"1604"=dword:00000000
"1605"=dword:00000000
"1606"=dword:00000000
"1607"=dword:00000000
"1608"=dword:00000000
"1609"=dword:00000001
"1800"=dword:00000000
"1802"=dword:00000000
"1803"=dword:00000000
"1804"=dword:00000000
"1805"=dword:00000000
"1806"=dword:00000000
"1807"=dword:00000000
"1808"=dword:00000000
"1809"=dword:00000003
"1A00"=dword:00000000
"1A02"=dword:00000000
"1A03"=dword:00000000
"1A04"=dword:00000000
"1A05"=dword:00000000
"1A06"=dword:00000000
"1A10"=dword:00000000
"1C00"=dword:00020000
"1E05"=dword:00030000
"2100"=dword:00000000
"2101"=dword:00000003
"2102"=dword:00000000
"2200"=dword:00000000
"2201"=dword:00000000
"2300"=dword:00000001
"2000"=dword:00000000
"1207"=dword:00000000
"PMDisplayName"="My Computer [Protected Mode]"
"LowIcon"="inetcpl.cpl#005422"
"1208"=dword:00000000
"1209"=dword:00000000
"120A"=dword:00000000
"1408"=dword:00000000
"160A"=dword:00000000
"180A"=dword:00000000
"180C"=dword:00000000
"180D"=dword:00000000
"2301"=dword:00000003
"2103"=dword:00000000
"2104"=dword:00000000
"2105"=dword:00000000
"2400"=dword:00000000
"2401"=dword:00000000
"2402"=dword:00000000
"2600"=dword:00000000
"2001"=dword:00000003
"2004"=dword:00000003
这个解决办法在http://jiangsheng.spaces.live.com/blog/cns!1BE894DEAF296E0A!878.entry 上看到
Clicking the create button will create another Internet Explorer security zone with the id 1000 that will affect all urls not included in other zones. This will allow separate security settings for webbrowser control hosting application such as Visual Studio. If settings are copied from a trusted configuration such as "my computer",a webbrowser control hosting application may not experience the aforementioned error.
Security Remarks: do not visit unsecured web site or use email software on the same computer after creating the new zone as the security impact of the new zone is not yet tested. Applications that host webbrowser control should implement their own security manager if they want to run ActiveX in the browser control.
If you received a fix from the IE team for this problem, please delete the zone created by this problem by clicking the delete button.
相关 的 “Internet Explorer 安全区域注册表项说明”
http://support.microsoft.com/kb/182569/zh-cn
IE8导致的Microsoft Visual Studio 2008 创建向导出现
最新推荐文章于 2024-04-24 16:48:15 发布