Theos PowerBasic Museum 2017

Webmaster: José Roca (PBWIN 10+/PBCC 6+) (SDK Forum) => Discussion => Topic started by: Marty Francom on September 26, 2011, 12:28:58 AM

Title: Programmatically setting browsers homepage
Post by: Marty Francom on September 26, 2011, 12:28:58 AM
How would I go about programmatically setting the browsers home page?

   I would like to build an option into my software's install program that our customers can select to
have their "Home Page" set to My Web site.   This would make it more convenient
for them to get program updates an other things.

   What I would do is create a special home page that would provide useful links and
a Google search box and such  in hope that they would keep it as their browsers default home
page.  I need to be able to set their home page programmatically.

    Any suggestion on how to do that?
Title: Re: Programmatically setting browsers homepage
Post by: José Roca on September 26, 2011, 06:41:15 AM
 
For Internet Explorer you have to change the value of the "Start Page" property, of the HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main node, to the wanted url.

For other browsers, I don't know.