title: How do I a read text file's content from the web in Visual Basic 6.0 line by line?
body: <p>I need source code for reading the .txt content from a URL.</p>
  
  <p>My text file content sample and then load in Visual Basic 6.0:</p>
  
  <p><img src="https://i.stack.imgur.com/nJjge.jpg" alt="http://gigpars.com/upload/tpm_untitled-3.jpg"></p>
  
  <p>My source code:</p>
  
  <pre><code>Dim data As String
  data = Inet1.OpenURL("http://test.com/sample.txt")
  Text1.Text = data
  </code></pre>