<script type="text/javascript"> document.body.oncopy = function() { if (window.clipboardData) { setTimeout(function() { var text = clipboardData.getData("text"); if (text && text.length>300) { text = text + "/r/n/n本文来自CSDN博客,转载请标明出处:" + location.href; clipboardData.setData("text", text); } }, 100); } } </script> <script type="text/javascript">function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes'));keyit.focus();}</script> vs2005突然无法创建VC++的智能设备项目了,总是报网页脚本错误.本以为是平台的问题,重装了vs2005后,问题依旧.上网查了许久才得到解决方法.原来是我的操作系统的IE升级到了7.0造成的问题.
按以下步骤解决:
1. Start RegEdit.exe
2.Find the following registry entry:
HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Ext/PreApproved
3.Add a new entry and name it
{D245F352-3F45-4516-B1E6-04608DA126CC}
4.Close RegEdit
5.Start VS
6.Try and create a Smart Device C++ project