I'm using VB .Net for Windows Phone 8. I'm trying to get first line from txt file. Txt file is located in Web.
Dim path As String
path="http://web.com/text.txt"
Using TXT As New StreamReader(path)
TextBox1.Text = TXT.ReadLine()
End Using
And I get Error Message in this line Using TXT As New StreamReader(path)
Value of type 'String' cannot be converted to 'System.IO.Stream'
How can I set path to the file without using of String variable?