预览模式: 普通 | 列表

Script error in VC++ wizards after installing

You might have script errors in VC++ wizards after installing IE8, for example, trying to add a member variable using class wizard, or when you double click inside a dialog normally we should taken to corresponding file but instead we get a script error…

Script error

Script error

Pretty strange isn’t it. Well as per VC++ team blogs this bug due to IE8 installation. Reason for this behavior is as explained below (quoted from VC++ team blogs…)

The VC++ Wizards Engine implements the IInternetSecurityManager interface.  In this implementation it allows or disallows specific actions under certain policies that Internet Explorer queries it about.  In IE8 a custom Security Manager now also gets queried about the URLACTION_ACTIVEX_OVERRIDE_REPURPOSEDETECTION policy which IE previously did not delegate to custom security managers when the engine wasn’t running in the iexplore.exe process.  The IE engine then fails this action because we don’t have a policy entry for it in the custom zone for VC++ Wizards. We are still investigating whether this change in IE8 is by design and will possibly be addressing it by a fix in either the Wizard or IE components depending on the outcome.

And according to this blog, following fix should work….

Please follow the following steps:
  • Open regedit (on a 64-bit OS, open the 32-bit regedit)
  • Under “HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet
    Settings\Zones”, create a new key called 1000 (if it isn’t already there)
  • Under 1000, create a DWORD entry with:
    • o Name = 1207
    • o Type = REG_DWORD
    • o Data = 0×000000

Just now I had this problem hence I had to use this fix and it works.

Tags: vc ie8

分类:程序员 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 181

[zt] Swine Flu after effects

we’ll know who the culprit is when they return.

They may stay at home but the effect of swine flu will be long lasting.

Tags: SwineFlu

分类:网络撷翠 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 243

[私密日志]

该日志是私密日志,只有管理员或发布者可以查看!
分类:网络撷翠 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 219

How to remote root login over ssh

In /etc/ssh/sshd_config there is a line as below:

PermitRootLogin no

Change "no" to "yes" then restart sshd service to do the trick.

查看更多...

Tags: root login ssh remote linux

分类:程序员 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 265

Quick way to switch from KDE to GNOME or vice

Task: To switch from GNOME to KDE, use the command

$ switchdesk kde

Task: To switch from KDE to GNOME, use the command

查看更多...

Tags: kde gnome switch linux

分类:数码时代 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 226

Bought two Sitag Emotion DL 200 chairs

书房里有两张破烂的电脑椅:一张是还在读书时的“遗产”,另一张是Ikea的垃圾货。动一动就发出怪声,坐得也不舒服。现在年纪开始大了,肩,腰,脖子都随着在电脑前花的时间越来越长而开始闹意见了,所以一直想换掉这两个椅子。

巧得很,上星期偶然在ebay上看到有人在卖两张这个:

Sitag Emotion DL 200:

查看更多...

Tags: dl200 office

分类:生活 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 288
大西洋上某处,苏联和美国核潜艇碰巧在一处上浮出水。苏联潜艇不仅老而且满是锈斑,
美国的不仅新而且干净。苏联潜艇的船员在甲板上没秩序地站着队,半醉的舰长生气地吼
道:“谁把靴子扔到控制台上去啦?我再问一遍:谁他妈地把靴子扔到控制台上去啦?”
刚好美国潜艇甲板上的舰长听见了,与苏联舰长相比,他不仅刮了胡子而且精神抖擞。而
他的手下更是秩序井然。显然他很自豪。他说:“您知道,在我们美国——”

查看更多...

Tags: 笑话

分类:网络撷翠 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 352

[tip] How to print screen of a single Window

Sometimes you just want to take a screenshot of a single window, not the whole desktop screen. For this purpose, instead of pressing "Print Screent/SysRq" button alone, you press Alt+Print Screen/SysRq, that will only take the screen shot of currently chosen Window.

查看更多...

分类:数码时代 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 244