title: How to run function in background in VB.NET?
body: <p>I am developing app in VB.NET that should have HTML requests and getting responses as string.</p>
  
  <p>Now I am using this code:</p>
  
  <pre><code>    Dim URL as String = "http://domain.com/page.php"
      Dim webClient As System.Net.WebClient = New System.Net.WebClient()
      Dim result As String = webClient.DownloadString(URLL)
  </code></pre>
  
  <p>But when I run this code, my program froze for a little bit, until this URL content is loaded.</p>
  
  <p>I searched over google and I didn't find anything about this.
  I tried using Classes and Modules, but with both of those it's frizzing again.</p>
  
  <p>Can someone explain me how to run this in background, so program won't froze, and when it get's downloaded to return data?</p>
  
  <p>Thanks.</p>