tags:

views:

30

answers:

1

I'm trying to load a text file with VB .Net so that I can use it with a streamreader object. for example: www.fakesite.com/text.txt

Thanks

It is of a particular URL and is already present on the server

+2  A: 

You can do this with HttpWebRequest and its GetResponse method, which gives you a WebResponse on which you can call GetResponseStream to get a Stream object to pass to your StreamReader.

(Dizzy yet?)

Thomas
Thanks works great!
Milo