I use the moz activex control in a html page to be open in IE. I want the control to go to the home page automatically that i have in the prefs (all.js).
I changed browser.startup.page to 1 and browser.startup.homepage to my url, but it doesn't work.
Browser1.GoHome() send allways me to home.netscape.com
I have moz activex control 1.6.
Nobody have an idea ?
I am pretty sure that the widget doesn't honor that preference.
You can do something like this:
// untested.
nsCOMPtr<nsIPref> prefs(do_GetService(NS_PREF_CONTRACTID, &rv));
nsEmbedCString str;
prefs->GetCharPref("browser.startup.homepage", str);and pass |str| to the IWebBrowser.
Doug _______________________________________________ mozilla-embedding mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-embedding
