蒋晟的专栏

http://jiangsheng.net

2009年03月25日

原创 Walkaround for Error : An add-on for this website failed to run. When opening Visual C++'s Add Variable Wizard after IE 8 is installed

Download: http://jiangsheng.net/Documents/IE8AddZone.zip Prerequisite: Microsoft Visual C++ 2005 SP1 Redistributable Package (x86) This program is designed to temporary circumvent the "An add-on for this web site failed to run. Check the security settings in Internet options for potential conflicts" error after installing IE8. For status about this problem, visit https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=425510Clicking the create阅读全文>

发表于 @ 2009年03月25日 05:39:00|评论(loading...)|举报|收藏

2009年02月14日

原创 415 Unsupported Media Type when WSE is NOT configured

I have a web service that runs fine on my Windows XP. However, when I deploy to the production server, the web service returns 415 Unsupported Media Type when calling. I have seen this error when WSE is not enabled on the client. The problem is, the web service is NOT using WSE. so I did the usual, uninstall ASP.Net, reinstalling, adding asmx extension to IIS, same error. Now I need to fire a debugger to see what’s going on. Surprisingly, Microsoft.Web.Services3.dll is loaded even when there 阅读全文>

发表于 @ 2009年02月14日 09:24:00|评论(loading...)|举报|收藏

2009年01月31日

原创 Windows Installer自动修复造成注册表内容重置

这几天碰到个很奇怪的问题,软件安装完了之后,使用正常,但是在重新启动之后注册表里面的用户设置居然丢失。进注册表看的时候发现注册表键都在,只是值的内容没了。根据Process Monitor的报告,是Windows Installer在程序自动启动的过程中自动修复的时候把注册表里面的用户设置重新初始化了。解决办法很简单,就是在安装的时候不初始化注册表,只在运行的时候动态创建键值。这样在卸载的时候会留下垃圾,不过比不能正常运行好。目前还不清楚为何Windows Installer为什么认为我的程序需要修复,慢慢再查了。阅读全文>

发表于 @ 2009年01月31日 10:18:00|评论(loading...)|举报|收藏

2009年01月30日

原创 Microsoft MVP, MSDN Forum Influencer

今年微软最有价值专家的奖品好重,是一个很大的水晶奖杯 后面那个红红的忘记是去年的最有价值专家还是最有影响力开发者的奖杯了,前后脚到的。微软中国也比较浪费,不同项目的奖品也不一起邮寄。 刚刚又收到英文MSDN论坛的通知说我是MSDN Forum Influencer,奖励一个背包,我的2004年MVP奖的那个背包要挂了,正好能用上。因为时差原因,我上来的时候都是半夜,后台估计在人少的时候偷摸做黑工,搞得我回复的时候老是出现超时错误,所以在CSDN发帖比较少。发个blog也给我报错,郁闷。阅读全文>

发表于 @ 2009年01月30日 22:26:00|评论(loading...)|举报|收藏

2008年10月11日

原创 New features in Visual C++ 10 and MFC 10

Boris Jabes and Damien Watkins will present new Visual C++ features in Visual Studio 10 during the upcoming PDC. These new IDE features include a new IntelliSense engine based on SQL Compact, new project and build system that supports customer extension, optimization for large-scale applications,and improved debugging. New MFC library additions will include support for Windows 7 features like multi-touch, Hi DPI, and Windows Vista features like Hi Color icons, integrated search, and restart m阅读全文>

发表于 @ 2008年10月11日 16:10:00|评论(loading...)|举报|收藏

2008年10月05日

原创 Type 'System.Web.UI.WebControls.Parameter' does not have a public property named 'DbType'

In Visual C# 2005 SP1, I added an object data source to a web page that uses my business class as the select method. The method has one parameter of type Guid. The data source wizard generates code like this Although the web server has .Net 2.0 SP1 installed (I checked the registry), it still throws an error Type 'System.Web.UI.WebControls.Parameter' does not have a public property named 'DbType' The walk around is easy: 阅读全文>

发表于 @ 2008年10月05日 19:12:00|评论(loading...)|举报|收藏

2008年06月04日

原创 Feedback from Microsoft

Looks like the Microsoft Award for Customer Excellence award I got a few years ago...阅读全文>

发表于 @ 2008年06月04日 20:15:00|评论(loading...)|举报|收藏

2008年04月07日

原创 MFC Feature Pack发布

Visual C++项目组今天发布了Visual C++ 2008 Feature Pack。这个Feature Pack包含了一些以前需要付费给BCG Soft才可以使用的控件,例如BCG著名的窗口布局和风格自定义功能,不过也有一些有用的控件,例如文件夹列表、文件夹树、属性窗格等等。 这个Feature Pack也包含从Dinkumware获得授权的一些对STL的扩展,实现了TR1草案。这包含新的随机算法、集合类和正则表达式支持。关于TR1的更多信息,可以参考Dinkumware的网站。 安装了这个Feature Pack之后,生成的应用程序在发布时需要同时发布新版本的MFC和CRT组件。预计对这个Feature Pack的技术支持策略会和VC6中从Dinkumware获得授权的STL库会是一个级别,也就是说,BCG Soft、Dinkumware和微软都会提供技术支持。如果在安装了这个Feature Pack之后需要安装Windows SDK 6.1,那么在安装完SDK之后需要修复Visual Studio 2008以保持文件是最新的。 目前发布的这个补丁只支持英文版的Visual阅读全文>

发表于 @ 2008年04月07日 15:49:00|评论(loading...)|举报|收藏

2007年10月01日

原创 关于自动完成功能的一段会话

“怎么了?”去饮水机倒水路过程序员甲背后的程序员乙说:“你又卡住了?”“那是你的数据量小。我的查询返回的数据量大,全部从数据库读出来保存到内存不现实,老板要求只从数据库读匹配当前用户输入的数据。”“说得轻巧,我这么做的结果是经常得到一个访问违例异常“尝试读取或写入受保护的内存,这通常指示其他内存已损坏”,而且我在TextChange里面设置的try/catch抓不到这个异常。5分钟后,程序员甲和程序员乙并肩坐在电脑桌前。阅读全文>

发表于 @ 2007年10月01日 10:15:00|评论(loading...)|举报|收藏

2007年09月03日

原创 保存浏览器控件中的网页

如果需要调用默认的保存对话框,可以调用IDM_SAVE命令保存网页 。由于安全原因,这个命令会总是显示一个文件保存对话框,调用命令的时候指定OLECMDEXECOPT_DONTPROMPTUSER时也不例外。注意保存为mht格式的选项只有自动化IE时才会出现,在嵌入浏览器控件时没有,而且这个功能需要Ooutlook Express 5.0或更高版本的支持。阅读全文>

发表于 @ 2007年09月03日 06:01:00|评论(loading...)|举报|收藏

用户操作
[即时聊天] [发私信] [加为好友]
蒋晟.Net
订阅我的博客
XML聚合  FeedSky
订阅到鲜果
订阅到Google
订阅到抓虾
蒋晟.Net的公告
我不私下回答问题,有问题请在论坛公开提出,这样后来者可以从讨论中受益
这下要维护4个BLOG了,faint 其他的地址
所有的文章版权归原文作者所有,任何人需要转载文章,必须征得原文作者授权。
找工作中……
文章分类
收藏
    BLOG
    个人BLOG(博客堂)(RSS)
    板砖横飞之地
    人世间
    微软中文社区
    听香小榭
    知识的泉源
    MVP FAQs
    存档
    Csdn Blog version 3.1a
    Copyright © 蒋晟.Net