Red5 wrote:

MyFileStream.Read(Buffer, 0, CInt(FileSize - 1))


Try this for your Read:
MyFileStream.Read(Buffer, 0, 65536)