Hi Evryone,
I'm exporting the Crystal report
to pdf file using Export, in a windows based application.But, Now I've to mail and fax that pdf file.
I used the following code for mailing:Dim
rpt As ReportDocument = New ReportDocumentDim
crrpt As ExportOptions = New ExportOptionsDim
dstopt As New MicrosoftMailDestinationOptionsDim
frmtopt As New PdfRtfWordFormatOptionsdstopt.MailToList =
"To Address here"dstopt.MailSubject =
"Mail Subject here"dstopt.MailMessage =
"Main Message here"crrpt.ExportDestinationType = ExportDestinationType.MicrosoftMail
crrpt.ExportFormatType = ExportFormatType.PortableDocFormat
crrpt.ExportDestinationOptions = dstopt
crrpt.ExportFormatOptions = frmtopt
rpt.Export(crrpt)
But it gives
me error at last line as:"Invalid export options."
And How can i fax it.
Plz, anyone can help
me.Thanx.
Bechir BejaouiPosted Jun 23, 2008, 2:11 PM