Try using code like this:
object zero=0;
object nl="";
axWebBrowser1.Navigate("http://www.yahoo.com",ref zero, ref nl, ref nl, ref
nl);
--Peter

Signature
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com
> I'm trying to use the AxSHDocVw.AxWebBrowser control in a form and when I
> call .Navigate, instead of showing the html page, the download prompt shows
[quoted text clipped - 5 lines]
> Does anyone know what I should check, to get the control opening HTML pages
> in itself instead of the default browser?
Chance Hopkins - 13 Nov 2005 03:59 GMT
Thanks for the reply. I ended up getting it working by using this version of
AxSHDocVw:
http://www.icsharpcode.net/CodeReader/SharpDevelop/087b/Base/DisplayBindingsBrow
serDisplayBindingAxSHDocVw.cs.html
When I used the version created by doing this:
aximp %%SYSTEMROOT%\System32\SHDocVw.dll
I get the behaviour I mentioned earlier.
I'm not sure why :-/
Thanks again for trying to help.
> Try using code like this:
>
[quoted text clipped - 17 lines]
>> pages
>> in itself instead of the default browser?