Can I have a helping hand for this.,
I have a Crystal Report files that I want to view everytime the user clicks the generate button.
here is my code....
Note that I currently exporting my report file into a PDF file using this...
Dim rptBlank As New Report Document
rptBlank As New report_Sample (Sample_ReportFile.rpt = Crystal Report File)
.ExportOptions.ExportDestinationType = ExportDestinationType.DiskFile
.ExportOptions.ExportFormatType = ExportFormatType.PortableDocFormat
diskDestination.DiskFileName = TempPath & empDtls(3) & "\" & filName
.ExportOptions.ExportDestinationOptions = diskDestination
' Outputing on my embed tag that the application type is PDF.
embedPdf.Src = "Sample_Generated_PDF_File.pdf"
But I think There should be a safe way to do it and much faster way.,
Can I have an advice on this?
Thank You in advance.