I have tried solutions from many other threads but they do not seem to work.
I am using Visual Studio 2013.
This is my code:
Imports System.Net
Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim myWebClient As New System.Net.WebClient
Dim file As New System.IO.StreamReader(myWebClient.OpenRead("https/www.dropbox.com/s/hvkx5zoqxs5ddjb/Version.txt"))
RichTextBox1.Text = file.ReadToEnd()
file.Close()
End Sub
End Class
But I always get it back as the html document, please let me know what I have done wrong.
I am using Visual Studio 2013.
This is my code:
Imports System.Net
Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim myWebClient As New System.Net.WebClient
Dim file As New System.IO.StreamReader(myWebClient.OpenRead("https/www.dropbox.com/s/hvkx5zoqxs5ddjb/Version.txt"))
RichTextBox1.Text = file.ReadToEnd()
file.Close()
End Sub
End Class
But I always get it back as the html document, please let me know what I have done wrong.