I have a VB .NET app that will let the user specify dates and locations and preview or print Crystal reports. I also have the ability to email the report. It'll first export the report as a PDF and then remember the path of the file I just created when I go to add the attachment to the email.
What I would like to be able to do is to export the Crystal Report to a PDF without having to save it on the hard drive first. Just export it and then attach it to the email object. I have done a little research and experimenting with the ExportToStream function and I think it might be the answer I'm looking for but I dont have the experience to take it to the next level.
What I'm assuming I can do is export the report to a stream then somehow attach it to the email as a PDF from the stream.
Can anybody help?
What I would like to be able to do is to export the Crystal Report to a PDF without having to save it on the hard drive first. Just export it and then attach it to the email object. I have done a little research and experimenting with the ExportToStream function and I think it might be the answer I'm looking for but I dont have the experience to take it to the next level.
What I'm assuming I can do is export the report to a stream then somehow attach it to the email as a PDF from the stream.
Can anybody help?