[RESOLVED] [2008] WebBrowser URL
Hey, this sounds like a silly question. But how do I set a web browser's url? The old Visual Basics it was simply web.url = "http://google.ca"
But with this one it's different. How do I set the webbrowser to display a website?
This is the error I get: Error 2 Value of type 'String' cannot be converted to 'System.Uri'. C:\Program Files\Devart\MyDirect.NET2\Samples\CRM\VB\MainForm.vb 206 31 CrmDemo
Re: [2008] WebBrowser URL
Call the WebBrowsers Navigate method and pass the URL as an argument to it. ;)
Re: [2008] WebBrowser URL
You can also set the Url property to a valid URI object.
Code:
web.Url = New Uri("http://google.ca")
Re: [RESOLVED] [2008] WebBrowser URL