Tech Off Post

Single Post Permalink

View Thread: ASPX page to stream a PDF
  • User profile image
    Harlequin

    Red5 wrote:

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


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