搜索文章:

首页  |  Java技术  |  Asp.net  |  Asp编程  |  VC/C++  |  Delphi  |  VB编程

让MSN调用mAxtHon

很多朋友都使用maxthon来浏览网页,不过即使你已经将maxthon设置成了默认浏览器,在msn messenger中打开某个链接(比如网友发送过来的网页地址),系统仍然会调用ie来打开,这显然是我们不希望的效果。

笔者查阅了一下maxthon官方站点,发现其中提供了一个解决办法:运行“regedit”命令打开注册表,定位到“[hkey_classes_root\clsid\{0002df01-0000-0000-c000-000000000046}\localserver32]”分支,在“localserver32”主键的右边子窗口中,双击“默认”选项,在随后弹出的数值设置窗口中,将其数值设置为空字符串,最后点击“确定”按钮即可。

笔者马上试用了这种方案,发现在笔者的windows xp系统中并无效果,链接依然只能在ie中打开。已经一番研究重要找到了解决方法,大家只需要编辑如下内容后,将其保存为 .reg文件,并导入注册表即可。

windows registry editor version 5.00

[hkey_classes_root\.html]

"perceivedtype"="test"

@="gbhtml"

"content type"="text/html"

[hkey_classes_root\.htm]

"perceivedtype"="test"

@="gbhtml"

"content type"="text/html"

[hkey_classes_root\gbhtml\defaultlcon]

@="c:\program files\maxthon\maxthon.exe,0" (这里设置maxthon的安装目录)

[hkey_classes_root\gbhtml\shell]

@=""

[hkey_classes_root\gbhtml\shell\open]

[hkey_classes_root\gbhtml\shell\open\command]

@="\"d:\program files\maxthon\maxthon.exe"\"%1""

编辑提示:由于msn messenger与系统紧密集成,上面方法修改后,我们在msn messenger中点击“邮件”来检查hotmail邮件的时候依然会调用ie来打开。

()

相关文章:
© 2006   www.java-asp.net