title: How do I add the current webbrowser url to this type of string in Visual Basic?
body: <p>I've been trying to fugure out how to get the current url of the webbrowser for this string: <code>Dim t As String = client.DownloadString("browserurl")</code></p>
  
  <pre><code>'defining it like this didn't work, it ended up with error, and I also tried a few similar options. 
  Dim browserurl As String = WebBrowser1.Url.ToString
  'this didn't work either
  Dim browserurl = WebBrowser1.Url.AbsolutePath
  'neither did this...
  Dim browserurl As New StreamReader(WebBrowser1.Url.AbsolutePath)
  
          Dim client As New WebClient
          Dim t As String = client.DownloadString("browserurl")
          Dim p As String = ""
          Dim r As New System.Text.RegularExpressions.Regex(p)
          Dim v As String = reg.Match(t).Value
  </code></pre>
  
  <p>What I'm trying to do is to parse data from websites the webbrowser visit and the URL cannot be the same since I need it to work on multiple urls I visit.</p>