PlanetSquires Forums

Support Forums => General Board => Topic started by: Martin Francom on September 07, 2010, 05:02:18 AM

Title: Programmatically Setting Default Home Page In IE
Post by: Martin Francom on September 07, 2010, 05:02:18 AM
I would like to programmatically set the home page in IE.
How can I do that?

Situation:  When my customer installs my program I would like  to be
able to give them an option to set their "home page" to my websites
support page.  Is this possible to do?  Programmatially from my
installation program?
Title: Re: Programmatically Setting Default Home Page In IE
Post by: Cho Sing Kum on September 07, 2010, 06:42:44 AM
The IE homepage is set in the Registry.

See the attached project.
Title: Re: Programmatically Setting Default Home Page In IE
Post by: Nathan Durland on September 07, 2010, 05:50:33 PM
Be advised that some AV software will see that as suspicious activity...
Title: Re: Programmatically Setting Default Home Page In IE
Post by: Cho Sing Kum on September 07, 2010, 11:46:16 PM
Yes, good point.

I don't have experience with all AV software. Some, if not all, pop up an alert the attempt to change the homepage and ask whether to allow.
Title: Re: Programmatically Setting Default Home Page In IE
Post by: Cho Sing Kum on September 08, 2010, 02:02:05 AM
What I am doing in my programs is to open Yahoo webpages from menuitems in a Yahoo pulldown menu, SGX webpages from menuitems in a SGX pulldown menu and lastly my support webpage from a menuitem in the Help pulldown menu.

See attached project for the "Help/Support Web" example.

Title: Re: Programmatically Setting Default Home Page In IE
Post by: Martin Francom on September 09, 2010, 09:32:03 PM
Thanks Guys for the suggestions.  I will play with these ideas an see if they will work for my needs.