lpf75
asked on
Crystal report to PDF (asp.net)
Hi experts!
I have a websolution where I would like to create an pdf from a crystal report.
I have a solution using the report document (shown below). But I really would like a solution where I only have a crystal dll. Why: then I dont need to ask my hosting center if they will install crystal runitme on their environment :-)(http://resources.businessobjects.com/support/additional_downloads/runtime.asp#09)
But is that at all possible?! Or do I then need another solution? :) Thanks
Dim stockObjectsReport As ReportDocument = New ReportDocument()
Dim reportPath As String = Server.MapPath("CrystalRep ort.rpt")
stockObjectsReport.Load(re portPath)
'stockObjectsReport.SetDat aSource()
Dim strFilnavn As String = "C:\websites\test.pdf"
If System.IO.File.Exists(strF ilnavn) Then
System.IO.File.Delete(strF ilnavn)
End If
stockObjectsReport.ExportT oDisk(Crys talDecisio ns.Shared. ExportForm atType.Por tableDocFo rmat, strFilnavn)
I have a websolution where I would like to create an pdf from a crystal report.
I have a solution using the report document (shown below). But I really would like a solution where I only have a crystal dll. Why: then I dont need to ask my hosting center if they will install crystal runitme on their environment :-)(http://resources.businessobjects.com/support/additional_downloads/runtime.asp#09)
But is that at all possible?! Or do I then need another solution? :) Thanks
Dim stockObjectsReport As ReportDocument = New ReportDocument()
Dim reportPath As String = Server.MapPath("CrystalRep
stockObjectsReport.Load(re
'stockObjectsReport.SetDat
Dim strFilnavn As String = "C:\websites\test.pdf"
If System.IO.File.Exists(strF
System.IO.File.Delete(strF
End If
stockObjectsReport.ExportT
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER