Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Imports DevExpress.XtraReports.UI
- Public Class Form3
- ' Source code ini berhasil untuk menampilkan laporan dan mencetak kedalam bentuk file sebuah PDF.
- Dim Report As New XtraReport2()
- Dim Tool As ReportPrintTool = New ReportPrintTool(Report)
- Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
- Tool.ShowPreview()
- End Sub
- Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
- Dim laporan2 As New XtraReport2
- laporan2.ExportToPdf("C:\STEVEN\ProyekVB\Latihan7\Latihan7\Latihan7\bin\Debug\filePDF\contohForm3.pdf")
- End Sub
- End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement