Posted in 2006
Visual Studio 2005 Untrusted by IE7
- 11 November 2006
Today I upgraded one of my development machine to IE7. Everything looks fine, except I have to change the FileDownload event handler to make my code compile.
However, suddenly I found Visual Studio 2005 is complaining:
Conclusion:
Visual Studio is based on WebBrowser control (Is this news story?)
Upgrade to IE7 may break some applications (Again, is this a news story?)
Everything else works fine so far…
Error: Unable to cast COM object of type ‘mshtml.HTMLDocumentClass’ to interface type ‘ICustomDoc’
- 23 October 2006
This operation failed because the QueryInterface call on the COM component for the interface with IID ‘{3050F3F0-98B5-11CF-BB82-00AA00BDCE0B}’ failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
My first reaction was:”What the hell? HTMLDocumentClass is the managed wrapper of MSHTML, and MSHTML is supposed to support the ICustomDoc interface!” Now I started wondering why the interfaces don’t work I created a sandbox project and tried to cast interface there, but it works smoothly. I played with strong name and found no luck. Finally, I found out that it is the frame document that does not support this interface.
‘The Microsoft Code’ by Adam Barr
- 23 June 2006
===
The man smirked. “My work here is done. Thanks to your little reboot stunt, your account has already been terminated. Within 15 minutes your cardkey will cease to work. You’ll be paying full price for Office for the rest of your life!”
=== :) full story:
The death of Virgo Shaka under the twin Salas
- 08 June 2006
Gold Saint Virgo Shaka, after a suicidal battle against three fallen Gold Saints, Capricornus Shura, Aquarius Camus and Gemini Saga when defending Athena.
花が咲き そして散る 花开,然后花落
Flowers open out and then they fade
星が輝き やがていつかは消える
星光闪耀,不知何时熄灭
Stars shine and later or sooner they go off
この地球も 太陽も 銀河系 大いなる宇宙も いつか死するときがくる
这个地球,太阳,银河系,甚至整个宇宙也总会有消失的时候
Both this Earth, the Sun, the Milky Way, and even for the big Universe which is growing,
later or sooner the time to die will come
人間の一生などそれらに比べれば瞬きほどの僅かなものであろう
And compared to these things, human life is insignificant.
人的生命和那些相比只不过是一瞬间吧
その僅かなひとときに 人は生まれ
在那一瞬间中,人诞生
In that little moment, a man is born
笑い 涙し 戦い 傷つき 喜び 悲しみ 誰かを憎み 誰かを愛し
微笑,哭泣,战斗,伤害,喜悦,悲伤,憎恨谁,喜欢谁
Laughs, cries, fights, is injured, feels joy and feels sadness, loves someone, hates someone
全ては刹那の邂逅
所有的一切都是刹那间的邂逅
Rverything is random and in a instant
そして誰しもが死という永遠の眠りに包まれる
谁都不能逃脱死亡的长眠
And, in the end, covered by an eternal sleep called Death.
Baidu Baike, the Chinese repalcement of Wikipedia
- 13 May 2006
Wikipedia has been blocked in mainland China for more than six months. Unlike former blocks, this one seems to be permanent. Like the blocking of Google in 2002, it produced a vacuum that local businesses are eager to fill, especially Baidu.
Immediate after the blocking of Wikipedia, Wiki China launched with government support and claimed itself as the biggest Chinese wiki encyclopedia. The coincidence, together with the GFDL violation of Wiki China by copying content systematically without credit Wikipedia, provoked many Chinese Wikipedians to blankout the pages they created. Ten days after the birth of Wiki China, hackers forced its shutting down by deleting its database.
Six months later, Baidu, the Chinese search engine benefited from the 2002 blocking of Google, launched Baidu Baike (sometimes translated Baidupedia), a collaborative online encyclopedia. Again, it is praised by Chinese media for education references, but is accused of the GFDL violation. Under the lure of Baidu Credit, a large amount of online articles, including many Wikipedia articles and even nonsense articles from Uncyclopedia are copied into Baidu Baike without crediting their sources. Worse, Baidu claimed the copyright in one help page, and credited the posters in another.
Although the growth of entries is impressive (10,000 a day), due to its self censorship, politically reactionary topics such as the Tiananmen Square protests of 1989, human rights, democracy and Falun Gong are missing. Confronting the Great Firewall of China, efforts to creating these entries or even search for them resulted denial of services, like searches in other web sites.
PRB: ::SetUIHandler Causes Changes in Save As Dialog
- 21 April 2006
For the description of this problem, see http://support.microsoft.com/kb/330441.
A workaround is delegating DHTML commands to the origional webbrowser object through its IOleCommandTarget interface. A sample can be found at http://www.codeproject.com/atl/popupblocker.asp:
Jiangsheng’s CSDN Digest (200604)
- 03 April 2006
I have been summarizing my CSDN posts since 2004. The last article of this kind is “Jiangsheng’s CSDN Digest(April 3, 2006)” (https://web.archive.org/web/20060701050541/http://blog.csdn.net/jiangsheng/archive/2006/04/03/648980.aspx), including following discussions:
web autocomplete using AJAX
From In God We Trust to In Freedom We Spam
- 14 February 2006
In God We Trust is widely considered a religious phrase. Although the definition of God can be widened to other monotheistic religions, and an overwhelming majority of Americans are Christians, many still believe it violated the establish clause of the constitution, preferring monotheism over polytheism and atheism.
On a far less base, some groups are spamming Chinese in the name of human rights. Since 2000, some congressional funded groups such as VOA and Radio Free Asia and followers of Chinese dissent movements such as Falun Gong keep sending their daily China civil right news to my email boxes. No, don’t tell me I need to set up a filter. I have been using email since 1997 and all of my email service providers have anti-spam filters, and many of those are served inside the Great Firewall. I had even set up some filters myself to filter spams with sibling recipients on the same domain. Since I had never given them my email addresses, it is only natural to assume that they obtained them from web pages or guessed them out from using common Chinese names and domains.
Microsoft MVP re-awarded again
- 04 January 2006
亲爱的 Sheng Jiang, 热烈祝贺并欢迎您参与 Microsoft® MVP Program! 作为本年度“最有价值专家”(Most Valuable Professional) 奖的获奖者,您成为了我们精英群体中的一员,在全球网上和网下技术社区中与他人积极分享 Microsoft 的产品和技术。Microsoft 向所有用技术帮助他人发挥潜力,从而促进社区发展的 MVP 们表示崇高的敬意。要了解有关 MVP Program 的更多信息,请访问:www.microsoft.com/mvp。 非常感激您在过去的一年中在指导Visual Developer - Visual C++技术社区中的同伴方面所做的杰出贡献。
Another email:



