I have vb6 project that uses Refresh2 method of WebBrowser. How I can access this method in .net project?
+1
A:
The WebBrowser control in WinForms has two Refresh methods:
public void Refresh();
public void Refresh(WebBrowserRefreshOption opt);
The second one in fact calls Refresh2()
on the underlying COM component. Just pass in the enum value that you want, depending on the refresh options that you want.
Eilon
2010-01-18 05:27:29
I cannot find what is default value for WebBrowser.Refresh2 method
volody
2010-01-22 13:40:07
@volody I don't think it has a default value - you have to pass in the value that you want.
Eilon
2010-01-26 05:46:17