Hi

I am having a problem when i export my crystal report to PDF. In the report editor it shows properly, previews on 1 page and even exports on 1 page.

However when i export the report to PDF using my vb.net 2005 application, the pdf has 2 pages.

Below is the code im using to export the report, can anyone point me in the right direction?

Code:
Dim rptEmptyReport As New rptEmpty
rptEmptyReport.Refresh()
rptEmptyReport.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat,c:\test.pdf")