G
Geir Holme
Hi all.
I don't know if this is the place for .NET/Crystal problems. Correct me if
there are any other places I should post this kind of questions.
All I want to do is to export a report as html body via CDO mail.
I can get it to work fine if I export to a file first. Then read the file
like
Dim tsReader As StreamReader = New
StreamReader("C:\Crystal\CrystalReport4\Testing.htm")
But isn't there a way I can do this without exporting to file first?
I have some hints on this, but it gives me an error as follow.
Dim stReader As StreamReader
stReader =
crReportDocument.ExportToStream(CrystalDecisions.Shared.ExportFormatType.HTM
L40)
"Could not find file
"C:\DOCUME~1\geir\LOCALS~1\Temp\export_33aa46fe-c9ec-48ce-8551-ddcc67aadb9c.
tmp"."
any ideas out there?
-geir
I don't know if this is the place for .NET/Crystal problems. Correct me if
there are any other places I should post this kind of questions.
All I want to do is to export a report as html body via CDO mail.
I can get it to work fine if I export to a file first. Then read the file
like
Dim tsReader As StreamReader = New
StreamReader("C:\Crystal\CrystalReport4\Testing.htm")
But isn't there a way I can do this without exporting to file first?
I have some hints on this, but it gives me an error as follow.
Dim stReader As StreamReader
stReader =
crReportDocument.ExportToStream(CrystalDecisions.Shared.ExportFormatType.HTM
L40)
"Could not find file
"C:\DOCUME~1\geir\LOCALS~1\Temp\export_33aa46fe-c9ec-48ce-8551-ddcc67aadb9c.
tmp"."
any ideas out there?
-geir