Just open a stream and call Read()/Write() for the full file/buffer size.
On 8/1/06, Franklin Gray <[EMAIL PROTECTED]> wrote:
The boss decided not to move to 2005 after realizing a lot of things
didn't work in our 2003 app when running in 2005. So, I was wondering how
to do the following in VB framework 1.1:
Private Function ReadFileBytes(ByVal Filename As String) As Byte()
Return System.IO.File.ReadAllBytes(Filename)
End Function
Private Sub WriteFileBytes(ByVal FileName As String, ByVal Input() As Byte)
System.IO.File.WriteAllBytes(FileName, Input)
End Sub
===================================
This list is hosted by DevelopMentor(r) http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
--
If knowledge can create problems, it is not through ignorance that we
can solve them.
Isaac Asimov
===================================
This list is hosted by DevelopMentorĀ® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com