使用vb.net 2013在Droupbox中读取文本文件 [英] Read text file in Droupbox using vb.net 2013
本文介绍了使用vb.net 2013在Droupbox中读取文本文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨朋友们,
我需要帮助才能使用vb.net读取位于droupbox上的文本文件。我的文本文件(https://www.dropbox.com/s/izc0xrq0jpctt02/Version.txt?dl=0)就在这里。有版本没有1.0.0.0我需要代码从vb.net读取此文本请帮助我
I need help to read text file located on droupbox using vb.net. my text file (https://www.dropbox.com/s/izc0xrq0jpctt02/Version.txt?dl=0) is here. there is version no 1.0.0.0 i need code for read this text from vb.net please help me
RohanD
推荐答案
嗨Rohan,
Hi Rohan,
REST API 是您开始阅读的好地方。
The REST API is a good place for you to start reading.
Dim myWebClient As New System.Net.WebClient
Dim file As New System.IO.StreamReader(myWebClient.OpenRead("https://www.dropbox.com/s/yfarlrua18vbajo/PRUEBA.txt?dl=1"))
RichTextBox1.Text = file.ReadToEnd()
file.Close()
最好的问候,
Cherry
这篇关于使用vb.net 2013在Droupbox中读取文本文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文