you probably mean to
AxWebBrowser1.Navigate("....")
seehttp://www.codeproject.com/useritems/WebBrowserControl.asphttp://support.microsoft.com/default.aspx?scid=kb;EN-US;304662
AxWebBrowser1.Navigate("....")
seehttp://www.codeproject.com/useritems/WebBrowserControl.asphttp://support.microsoft.com/default.aspx?scid=kb;EN-US;304662
{
System.Object nullObject=0;
string Str="";
System.Object nullObjStr=Str;
Cursor.Current=Cursors.WaitCursor;
axWebBrowser1.Navigate(this.comboBox1.Text,ref nullObject,ref nullObjStr,ref nullObjStr,ref nullObjStr);
Cursor.Current=Cursors.Default;
}
--------------------------
其中,comboBox1是地址栏。
{
System.Object nullObject=0;
string Str="";
System.Object nullObjStr=Str;
Cursor.Current=Cursors.WaitCursor;
axWebBrowser1.Navigate(this.comboBox1.Text,ref nullObject,ref nullObjStr,ref nullObjStr,ref nullObjStr);
Cursor.Current=Cursors.Default;
}
URL As Variant, _
[Flags As Variant,] _
[TargetFrameName As Variant,] _
[PostData As Variant,] _
[Headers As Variant])
open a new page, u must:AxWebBrowser1.Navigate2(URL,0x1,"_BLANK" ...see of:ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.2052/progie/workshop/browser/webbrowser/reference/methods/navigate2.htm