Microsoft
Software
Hardware
Network
Question : 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.busin
essobjects
.com/suppo
rt/
additio
nal_downlo
ads/runtim
e.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)
Answer : Crystal report to PDF (asp.net)
I'm under the impression the runtime has to be installed unfortunately.
L
Random Solutions
When the same MS Word 2007 Application runs on different machines, Forms on one machine may have darker shades of gray than on another. Why?
Capturing handwriting
Apache authentication using the GET method. Is it possible?
How to deny write to the desktop for users?
Inline attachments with Lotus Notes
SQL Server 2008 Licensing
ASP.Net C#, MS SQL
How to remove automatic login from Outlook 2010
Quality Center
windows 2008 MYSQL5.1 and PHP5