dotnetmonitor.com

 
Index
Previous
Next

 

The webBrowser.Url is not a string, but rather is a Uri object. If you still want to use a string to set the WebBrowser.Url you can do so in one of following ways:

1.      webBrowser.Url = new Uri(path string);

2.      webBrowser.Navigate(path string);

3.      webBrowser.Navigate(new Uri(path string));

How do I disable JavaScript?
How do I get XP SP2 Security features?
How can a control in the browser access the DOM of the page that is hosting it?
Why wont the WebBrowser navigate?
How do I block popups?
How do I navigate to a Url that contains escape characters?