Webbrowser URL

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Raoul

    Webbrowser URL

    Hello,
    I am trying to change the webbrowser URL via the My.Settings

    Code:
        Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            browser.Url = My.Settings.startpagina
        End Sub
    With that I get:
    Code:
    Value of type 'String' cannot be converted to 'System.Uri'.
    I tried new System.Uri() but then I had this error:

    Code:
    Invalid URI: The format of the URI could not be determined.
    Can someone help me please??

    Thanks
Working...