QUOTE(Asscotte @ 2 Jul, 2009 - 09:10 AM)

Is there a method of using the stream reader to read webfiles? if so what is it and do you have any tutorials.
[Code:none thats why I posted]
thanks,
yes, there is.
CODE
Public Function ReadFile(ByVal url As String) As String
Dim req As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create(url)
Dim rep As System.Net.HttpWebResponse = req.GetResponse()
Dim str As New System.IO.StreamReader(rep.GetResponseStream)
return str.ReadToEnd()
End Function
Modify that code to your needs
This post has been edited by Amrykid: 2 Jul, 2009 - 04:59 PM