<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : How to set Default Browser?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : How to set Default Browser?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 16:00:02 +0000</pubDate>
  <lastBuildDate>Thu, 10 Dec 2009 08:37:09 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=13563</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[How to set Default Browser? : Long time no talk eh&amp;#039; dentor?...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13563&amp;PID=55524&amp;title=how-to-set-default-browser#55524</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4108">shipwreck</a><br /><strong>Subject:</strong> 13563<br /><strong>Posted:</strong> 10 December 2009 at 8:37am<br /><br />Long time no talk eh' dentor? How have you been?<br />Also, I need it to be able to recognize that on XP Vista, and Windows 7. Do you think you can give me a sample or a code listing? I'd really appreciate it. Like I said earlier, I'm still completely lost on this one. lol.]]>
   </description>
   <pubDate>Thu, 10 Dec 2009 08:37:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13563&amp;PID=55524&amp;title=how-to-set-default-browser#55524</guid>
  </item> 
  <item>
   <title><![CDATA[How to set Default Browser? : Hello Shipwreck,  Default Web...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13563&amp;PID=55523&amp;title=how-to-set-default-browser#55523</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1646">dentor</a><br /><strong>Subject:</strong> 13563<br /><strong>Posted:</strong> 10 December 2009 at 7:43am<br /><br /><DIV>Hello Shipwreck,</DIV><DIV>&nbsp;</DIV><DIV>Default Web browser settings is stored in&nbsp;registry and you can find the registry entry for your default browser at :</DIV><DIV><BR>HKEY_LOCAL_MACHINE\Software\Clients\StartMenuInternet</DIV><DIV><SPAN =preLoadWrap id=preLoadWrap1 style=": relative">&nbsp;</DIV><DIV><DIV id=preLoad1 style="DISPLAY: n&#111;ne; : 4000; LEFT: -18px; : ; TOP: -22px"><FONT color=#800080></FONT></DIV></SPAN></DIV><DIV>Default value indicate the default web browser.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 10 Dec 2009 07:43:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13563&amp;PID=55523&amp;title=how-to-set-default-browser#55523</guid>
  </item> 
  <item>
   <title><![CDATA[How to set Default Browser? : Okay. Has anyone actually found...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13563&amp;PID=55522&amp;title=how-to-set-default-browser#55522</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4108">shipwreck</a><br /><strong>Subject:</strong> 13563<br /><strong>Posted:</strong> 10 December 2009 at 7:14am<br /><br />Okay. Has anyone actually found a way to detect the default browser and how to change it using VB6? ]]>
   </description>
   <pubDate>Thu, 10 Dec 2009 07:14:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13563&amp;PID=55522&amp;title=how-to-set-default-browser#55522</guid>
  </item> 
  <item>
   <title><![CDATA[How to set Default Browser? : Alrighty, I&amp;#039;ll test to see. ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13563&amp;PID=46281&amp;title=how-to-set-default-browser#46281</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4108">shipwreck</a><br /><strong>Subject:</strong> 13563<br /><strong>Posted:</strong> 05 March 2009 at 5:56am<br /><br />Alrighty, I'll test to see.]]>
   </description>
   <pubDate>Thu, 05 Mar 2009 05:56:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13563&amp;PID=46281&amp;title=how-to-set-default-browser#46281</guid>
  </item> 
  <item>
   <title><![CDATA[How to set Default Browser? : I think there is no difference...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13563&amp;PID=46279&amp;title=how-to-set-default-browser#46279</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1646">dentor</a><br /><strong>Subject:</strong> 13563<br /><strong>Posted:</strong> 05 March 2009 at 5:42am<br /><br />I think there is no difference for the Vista version.<DIV></DIV>]]>
   </description>
   <pubDate>Thu, 05 Mar 2009 05:42:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13563&amp;PID=46279&amp;title=how-to-set-default-browser#46279</guid>
  </item> 
  <item>
   <title><![CDATA[How to set Default Browser? : Seems to be what I was looking...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13563&amp;PID=46278&amp;title=how-to-set-default-browser#46278</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4108">shipwreck</a><br /><strong>Subject:</strong> 13563<br /><strong>Posted:</strong> 05 March 2009 at 5:38am<br /><br />Seems to be what I was looking for. <br>But, will this function work on Vista also? <br>or is there another for that?<br>]]>
   </description>
   <pubDate>Thu, 05 Mar 2009 05:38:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13563&amp;PID=46278&amp;title=how-to-set-default-browser#46278</guid>
  </item> 
  <item>
   <title><![CDATA[How to set Default Browser? :   shipwreck wrote:I&amp;#039;m not...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13563&amp;PID=46270&amp;title=how-to-set-default-browser#46270</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1646">dentor</a><br /><strong>Subject:</strong> 13563<br /><strong>Posted:</strong> 05 March 2009 at 2:37am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by shipwreck" alt="Originally posted by shipwreck" style="vertical-align: text-bottom;" /> <strong>shipwreck wrote:</strong><br /><br />I'm not familiar with MFC, any way to translate that into VB6?</td></tr></table> <DIV>&nbsp;</DIV><DIV>Hello Shipwreck,</DIV><DIV>&nbsp;</DIV><DIV>Here's a link to a microsoft webpage that explain with vb6 code the way to :</DIV><DIV>&nbsp;</DIV><DIV>Modify the default Web browser and e-mail client programmatically in Windows XP</DIV><DIV>&nbsp;</DIV><DIV><a href="http://support.microsoft.com/kb/299853/en-us" target="_blank">http://support.microsoft.com/kb/299853/en-us</A></DIV><DIV>&nbsp;</DIV><DIV>Hoping it will be useful for you.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 05 Mar 2009 02:37:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13563&amp;PID=46270&amp;title=how-to-set-default-browser#46270</guid>
  </item> 
  <item>
   <title><![CDATA[How to set Default Browser? : I&amp;#039;m not familiar with MFC,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13563&amp;PID=46244&amp;title=how-to-set-default-browser#46244</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4108">shipwreck</a><br /><strong>Subject:</strong> 13563<br /><strong>Posted:</strong> 04 March 2009 at 5:27am<br /><br />I'm not familiar with MFC, any way to translate that into VB6?]]>
   </description>
   <pubDate>Wed, 04 Mar 2009 05:27:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13563&amp;PID=46244&amp;title=how-to-set-default-browser#46244</guid>
  </item> 
  <item>
   <title><![CDATA[How to set Default Browser? : Hi,  Herecode from our MFC StylerBrowser...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13563&amp;PID=46232&amp;title=how-to-set-default-browser#46232</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 13563<br /><strong>Posted:</strong> 04 March 2009 at 3:41am<br /><br /><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>Here&nbsp;code from our MFC StylerBrowser sample... </DIV><DIV>&nbsp;</DIV><DIV>void SetDefault(LPCTSTR lpszKey, BOOL = TRUE)<BR>{<BR>&nbsp;HKEY&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; hKey, hSubKey, hSubKey2;</DIV><DIV>&nbsp;if(RegOpenKey(HKEY_CLASSES_ROOT, lpszKey, &amp;hKey) == ERROR_SUCCESS)<BR>&nbsp;{<BR>&nbsp;&nbsp;DWORD dwRes;<BR>&nbsp;&nbsp;TCHAR lpszModule&#091;_MAX_PATH&#093;;<BR>&nbsp;&nbsp;HINSTANCE hInstance = AfxGetInstanceHandle();<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;RegSetValueEx(hKey, _T(""), NULL, REG_SZ, (LPBYTE)(_T("Styler")), 7 * sizeof(TCHAR));<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;//open<BR>&nbsp;&nbsp;RegCreateKeyEx(hKey, _T("open"), 0, NULL, REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS, NULL,&nbsp; &amp;hSubKey, &amp;dwRes);<BR>&nbsp;&nbsp;RegCreateKeyEx(hSubKey, _T("command"), 0, NULL, REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS, NULL,&nbsp; &amp;hSubKey2, &amp;dwRes);<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;if (GetModuleFileName(hInstance, lpszModule + 1, _MAX_PATH))<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;*lpszModule = _T('\"');<BR>&nbsp;&nbsp;&nbsp;#if (_MSC_VER &gt; 1310) // VS2005<BR>&nbsp;&nbsp;&nbsp;_tcscat_s(lpszModule, _MAX_PATH, _T("\" \"%1\""));<BR>&nbsp;&nbsp;&nbsp;#else<BR>&nbsp;&nbsp;&nbsp;_tcscat(lpszModule, _T("\" \"%1\""));<BR>&nbsp;&nbsp;&nbsp;#endif<BR>&nbsp;&nbsp;&nbsp;RegSetValueEx(hSubKey2, _T(""), NULL, REG_SZ, (LPBYTE)(lpszModule), ((int)_tcsclen(lpszModule) + 1) * sizeof(TCHAR));<BR>&nbsp;&nbsp;}<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;RegCloseKey(hSubKey);<BR>&nbsp;&nbsp;RegCloseKey(hSubKey2);<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;//myie<BR>&nbsp;&nbsp;RegCreateKeyEx(hKey, _T("Styler"), 0, NULL, REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS, NULL,&nbsp; &amp;hSubKey, &amp;dwRes);<BR>&nbsp;&nbsp;RegCloseKey(hKey);<BR>&nbsp;&nbsp;RegCreateKeyEx(hSubKey, _T("command"), 0, NULL, REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS, NULL,&nbsp; &amp;hKey, &amp;dwRes);<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;if (GetModuleFileName(hInstance, lpszModule+1, _MAX_PATH))<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;*lpszModule = _T('\"');<BR>&nbsp;&nbsp;&nbsp;#if (_MSC_VER &gt; 1310) // VS2005<BR>&nbsp;&nbsp;&nbsp;_tcscat_s(lpszModule, _MAX_PATH, _T("\" \"%1\""));<BR>&nbsp;&nbsp;&nbsp;#else<BR>&nbsp;&nbsp;&nbsp;_tcscat(lpszModule, _T("\" \"%1\""));<BR>&nbsp;&nbsp;&nbsp;#endif<BR>&nbsp;&nbsp;&nbsp;RegSetValueEx(hKey, _T(""), NULL, REG_SZ, (LPBYTE)(lpszModule), ((int)_tcsclen(lpszModule) + 1) * sizeof(TCHAR));<BR>&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;}<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;RegCloseKey(hSubKey);<BR>&nbsp;&nbsp;RegCloseKey(hKey);<BR>&nbsp;}</DIV><DIV>}</DIV><DIV>&nbsp;</DIV><DIV>void CMainFrame::OnSetDefault()<BR>{<BR>&nbsp;SetDefault(_T("htmlfile\\shell"));<BR>&nbsp;SetDefault(_T("InternetShortcut\\shell"));<BR>&nbsp;SetDefault(_T("mhtmlfile\\shell"));<BR>&nbsp;SetDefault( _T("http\\shell"));<BR>&nbsp;SetDefault( _T("https\\shell"));<BR>&nbsp;SetDefault( _T("file\\shell"));<BR>&nbsp;SetDefault( _T("ftp\\shell"));&nbsp;<BR>}<BR></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 04 Mar 2009 03:41:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13563&amp;PID=46232&amp;title=how-to-set-default-browser#46232</guid>
  </item> 
  <item>
   <title><![CDATA[How to set Default Browser? : Hello Codejock Community! I have...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13563&amp;PID=46185&amp;title=how-to-set-default-browser#46185</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4108">shipwreck</a><br /><strong>Subject:</strong> 13563<br /><strong>Posted:</strong> 03 March 2009 at 7:14am<br /><br />Hello Codejock Community! <br>I have question:<br>I'm working on a web browser using your web browser control, and I was wondering how can I implement the feature "Set as default browser" like alot of other web browsers do? Please help out. lol.<br>]]>
   </description>
   <pubDate>Tue, 03 Mar 2009 07:14:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13563&amp;PID=46185&amp;title=how-to-set-default-browser#46185</guid>
  </item> 
 </channel>
</rss>