Click here to Skip to main content
Click here to Skip to main content
Alternatives (1)
Go to top

Generate a PDF document from exported stream of a crystal report

, 10 May 2010
I have a report which can be viewed in Crystal Report viewer in VS. Client needs to generate a PDF file with a click of a button and the PDF should pop up upon finishing exporting and let the client decide where to save the file.'vb.netImports...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

10 May 2010
atverweij
The last part can be written much easier in VB:Private Sub msGPDF_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles msGPDF.Click Dim Stream As IO.Stream = objRpt.ExportToStream(ExportFormatType.PortableDocFormat) Dim Buffer(CInt(Stream.Length)) As Byte ...

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

lidialee

Unknown
No Biography provided

| | Privacy | Mobile
Web03 | 2.8.140926.1 | Last Updated 10 May 2010
Article Copyright 2010 by lidialee
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid