Trint,
You can use a StreamWriter to indirectly write to a URL.
The easiest way is to use WebClient.OpenWrite to get a writable Stream, that
you then pass to the StreamWriter class...
Something like (syntax checked only):
Imports System.Net
Imports System.IO
Dim url As String
Dim client As New WebClient()
Dim stream As Stream = client.OpenWrite(url)
Dim writer As New StreamWriter(stream)
A more complicated way is to use a WebRequest & WebResponse, however the
WebClient hides most of the details of the WebRequest & WebResponse classes.
Hope this helps
Jay
"Trint Smith" <tr********@hotmail.com> wrote in message
news:eU**************@TK2MSFTNGP09.phx.gbl...
Is there anything like this that will allow a url address instread of a
drive letter?:
Dim fw As StreamWriter
fw = New StreamWriter("D:\file.txt", True)
fw.WriteLine(ex)
fw.Close()
The reason I need to do this is it has to be done on the web server.
Thanks,
Trint
Net programmer
tr********@hotmail.com
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!