Hi
How to export crystal report to pdf in vb.net? I can generate 5 invoices in crystal report, i want to export these 5 invoices 1 by 1 to pdf when click the convert button, its should be 5 pdf files in diffreent name.
Thanks in advance
shanga
Install a pdf writer program to your machine. Then print the pages as you wish.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim Rpt As New CrystalDecisions.CrystalReports.Engine.ReportDocument() Rpt.Load("F:\@eWIS\NET\Samples\report\report\CrystalReport1.rpt") Rpt.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat, "C:\krisha.pdf") MsgBox("DONE")
End Sub
Krishantha DineshSenior Systems EngineerEW-Information systems (EWIS)
hi
Thanking you, can make it.