Hello I am retrieve binary data from a web service and need to write it to
disk. It will be a setup file or replacement files I have made for
applications.
This is where I am lost
the memory stream is filled.
ms.Seek(0, SeekOrigin.Begin)
Dim MyWriter as StreamWriter
MyWriter = New StreamWriter("C:\Test.Setup")
ms.read
mywriter.write(ms)
ms.close
mywriter.close
This does not work, what am I missing,
Thanks
Chuck
"Charles A. Lackman" <Ch*****@CreateItSoftware.net> wrote in message
news:ea**************@TK2MSFTNGP10.phx.gbl...
Hello,
I have created a MemoryStream that is holding Binary Data. How do I get
the Data out of the Memory Stream into a file on my hard drive. All the
examples I have seen for a MemoryStream write the contents to the console.
Thanks
Chuck