ADODB.Stream Max Size?



Hi,

I have a stream that is used to download a PDF (to display a given
report in PDF format for a user)..


With objStream
.Open
.Type = 1
.Write buf
.SaveToFile strFileName, adSaveCreateOverWrite
blnError = (Err.Number <> 0)
.Close
End With


It is working fine. Even a reportwith 16,911 records worked.
However,
when my report has about over 17,000-18,000 records I get an error:


ADODB.Stream
Arguments are of the wrong type, are out of acceptable range, or are
in conflict with one another


Anyone know if the ADO stream has a maximum size?


Thanks in advance

.



Relevant Pages

  • XLANGPart.LoadFrom(stream) failing - UnauthorizedAccessException
    ... My component then generates a PDF stream using Crystal Reports, ... attempts to load the XLANGMessage's 1st data part with the stream generated ... ReportDocument report = new ReportDocument; ... Exception thrown from: segment 1, ...
    (microsoft.public.biztalk.general)
  • How to print only certain page(s) in Microsoft Reports rdlc
    ... to load it to report viewer first. ... printDoc.PrinterSettings.PrinterName = printerName; ... Stream stream = new MemoryStream; ... private void Export ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: ADODB.Stream Max Size?
    ... report in PDF format for a user).. ... Anyone know if the ADO stream has a maximum size? ... This email account is my spam trap so I ...
    (microsoft.public.inetsdk.programming.scripting.vbscript)
  • Re: memcmp() checker: memory access errors
    ... I do ungetcall 256 bytes in databack to the stream ... because ungetc() can fail to push back the bytes to the input ... my 256-byte memory leak although it did not report any other error. ... Checker does not report the source-line every time. ...
    (comp.lang.c)
  • Macrovision
    ... How is my video capture driver supposed to report that the incoming signal ... in the dwFrameFlags in the stream header of every VBI packet I send. ... I also tried setting those flags in the dwFrameFlags of every video frame, ... If anyone has succeeded in reporting Macrovisionness and had it be ...
    (microsoft.public.win32.programmer.directx.video)