这样,我想从一个网址加载一个1.54gb的文本文件,但它没有加载导致它变大。我可以在列表框中加载最多100mb但不高于此值。我有其他程序可以上传50 MB的文件,不会崩溃或出错。我怎么能做到这一点没有得到任何错误,它需要超过15分钟来加载。
我的代码和出现错误时出现的消息
Me.Refresh()
Dim mimi As New WebClient With {
.Encoding = Encoding.UTF8
}
Try
TextBox1.Text = mimi.DownloadString("http://comboxy.com/publiclines.txt")
Catch ex As Exception
MsgBox("Error Finding Public Lines! Your internet connection may be to slow, file may be to large or lines database may be down. :(", MsgBoxStyle.Exclamation)
Label1.Text = "Host: 0"