Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Interesting Outlook and Crystal Reports Question...

Status
Not open for further replies.

pzmgmb

Programmer
Apr 2, 2003
115
US
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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top