如何在vb.net中将fireFox设置为默认浏览器 [英] how to set the fireFox as the defaul browser in vb.net

查看:89
本文介绍了如何在vb.net中将fireFox设置为默认浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在执行时将Fire Fix设置为.net中的默认浏览器.
如何在vb.net中将fireFox设置为默认浏览器

I want to set the fire fix as my default browser in .net when it is executed.
how to set the fireFox as the defaul browser in vb.net

推荐答案

http://www.vbforums.com/showthread.php?647721-Obtain -user-s-default-browser. [ ^ ]
http://bytes.com/topic/visual-basic-net/answers/866030- webbrowser-default [^ ]
http://forums.asp.net/t/1703856.aspx/1 [ ^ ]
http://stackoverflow.com/questions/2707799/start-default-browser-windows[^]
http://www.vbforums.com/showthread.php?647721-Obtain-user-s-default-browser.[^]
http://bytes.com/topic/visual-basic-net/answers/866030-webbrowser-default[^]
http://forums.asp.net/t/1703856.aspx/1[^]


为什么?您要做的就是惹恼那些不使用Firefox的用户(如我).
我强烈建议您不要这样做,但是如果您必须这样做,则取决于操作系统:
对于Windows 7,您需要设置注册表:
Why? All you will do is annoy users (like me) who do not use Firefox.
I would strongly suggest you don''t do it, but if you must then it depends on the OS:
For Windows 7 you need to set the Registry:
HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http


请参阅此处: http://social.msdn. microsoft.com/Forums/zh-CN/vbgeneral/thread/57912ee0-3e72-4975-9ace-6eb33c49ceaf/ [


See here: http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/57912ee0-3e72-4975-9ace-6eb33c49ceaf/[^]


非常感谢朋友为您的答案提供了每个人的建议.OriginalGriff,我需要这样做的原因是,我的网站上有一个图标.在IE中看不到.如果使用的是Firefox,我可以查看它. .

Ridoy,感谢您花费宝贵的时间来找到此解决方案.

VijayGujar感谢您的回答.
Thanks friends a lot for your answers and each have given your suggessions.OriginalGriff,why I needed this is,I have an icon in my website.I cant see in IE.If I am using the Firefox,I can View it kow.So only i needed it.

Ridoy, thanks for spending your favarable time to find this solutions.

VijayGujar thanks for your answre.


这篇关于如何在vb.net中将fireFox设置为默认浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆