查看文章 |
如何更改vs2005测试默认浏览器 更改方法: 打开 C:\Documents and Settings\Administrator\Local Settings\Application Data\Microsoft\VisualStudio\8.0\browsers.xml <?xml version="1.0" ?> - <BrowserInfo> - <Browser> <Name>firefox.exe</Name> <Path>"F:\PROGRA~1\MOZILL~1\FIREFOX.EXE"</Path> <Resolution>0</Resolution> <IsDefault>False</IsDefault> </Browser> - <Browser> <Name>Microsoft Internet Explorer</Name> <Path>"C:\Program Files\Internet Explorer\iexplore.exe"</Path> <Resolution>0</Resolution> <IsDefault>True</IsDefault> - <DDE> <Service>IExplore</Service> <TopicOpenURL>WWW_OpenURL</TopicOpenURL> <ItemOpenURL>"%s",,0xffffffff,3,,,,</ItemOpenURL> <TopicActivate>WWW_Activate</TopicActivate> <ItemActivate>0xffffffff,0</ItemActivate> </DDE> </Browser> - <InternalBrowser> <Resolution>0</Resolution> <IsDefault>False</IsDefault> </InternalBrowser> </BrowserInfo>、 将第一个<Browser>结点,也就是firefox的<IsDefault>改为 False ,将 IExplore 的一个改为True 或者直接删除此文件 当然也可以直接将现在使用的浏览器路径加到文件中,设置IsDefault属性为True就ok了 |