I’m trying to load a text file with VB .Net so that I can use it with a streamreader object. for example: http://www.fakesite.com/text.txt
Thanks
It is of a particular URL and is already present on the server
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can do this with
HttpWebRequestand itsGetResponsemethod, which gives you aWebResponseon which you can callGetResponseStreamto get aStreamobject to pass to yourStreamReader.(Dizzy yet?)