Use WebBrowser Navigate2 method without additional parameters in .Net
I have VB6 application that uses Navigate2 method of WebBrowser control开发者_开发技巧. .Net version of WebBrowser have 8 versions of Navigate method.
Which method is mapping functionality of Navigate2 of the code below:
Dim url
url = "www.apple.com"
WB.Navigate2 url
You can call the overload that takes a string, like this:
webBrowser.Navigate("http://apple.com")
精彩评论