T
tklapettek
Hello, I want to deploy Crystal Reports 10 without using merge-modules.
I'm using Crystal Reports 10 developer edition. So I created a report
in CR10 and call in in .Net 2003 (see example below). It's an
application for our company, so I don't need a setup routine with all
overhead files in it. So, the questions are: Which files must be copied
? Do I have to register some of them ??? Do I have to do something with
the license key for the reports (like the CR-version which is included
in .Net 2003 ??
I searched the Internet, but I don't found anything what helps me. Does
somebody can help me ?? Thanks a lot.....
Dim CrReportDocument As
CrystalDecisions.CrystalReports.Engine.ReportDocument
Dim crDatabase As Database
'Create an instance of the strongly-typed report object
CrReportDocument = New
CrystalDecisions.CrystalReports.Engine.ReportDocument
CrReportDocument.FileName =
System.Windows.Forms.Application.StartupPath &
"\Reports\Kostendaten.rpt"
' Daten aus der tabelle in den DataAdapter lesen
ora_da = New OracleClient.OracleDataAdapter("SELECT JAHR, MONAT,
BETRAG, GUV_KONTO,ANLAGEKLASSE, BEZEICHNUNGSFELD, " & _ " NAME,
PRIMANOTA, REVERSIERUNG FROM XXMCL_KOSTENDATEN where Jahr = " &
Me.txt_ReportJahr.Text & " and Monat = " & Me.cmb_ReportMonat.Text &
str_Status, cn_RoleConnection)
ora_da.Fill(ora_ds, "XXMCL_KOSTENDATEN ")
'Pass the populated dataset to the report
CrReportDocument.SetDataSource(ora_ds)
CrystalReportViewer1.ReportSource = CrReportDocument
CrystalReportViewer1.Show()
I'm using Crystal Reports 10 developer edition. So I created a report
in CR10 and call in in .Net 2003 (see example below). It's an
application for our company, so I don't need a setup routine with all
overhead files in it. So, the questions are: Which files must be copied
? Do I have to register some of them ??? Do I have to do something with
the license key for the reports (like the CR-version which is included
in .Net 2003 ??
I searched the Internet, but I don't found anything what helps me. Does
somebody can help me ?? Thanks a lot.....
Dim CrReportDocument As
CrystalDecisions.CrystalReports.Engine.ReportDocument
Dim crDatabase As Database
'Create an instance of the strongly-typed report object
CrReportDocument = New
CrystalDecisions.CrystalReports.Engine.ReportDocument
CrReportDocument.FileName =
System.Windows.Forms.Application.StartupPath &
"\Reports\Kostendaten.rpt"
' Daten aus der tabelle in den DataAdapter lesen
ora_da = New OracleClient.OracleDataAdapter("SELECT JAHR, MONAT,
BETRAG, GUV_KONTO,ANLAGEKLASSE, BEZEICHNUNGSFELD, " & _ " NAME,
PRIMANOTA, REVERSIERUNG FROM XXMCL_KOSTENDATEN where Jahr = " &
Me.txt_ReportJahr.Text & " and Monat = " & Me.cmb_ReportMonat.Text &
str_Status, cn_RoleConnection)
ora_da.Fill(ora_ds, "XXMCL_KOSTENDATEN ")
'Pass the populated dataset to the report
CrReportDocument.SetDataSource(ora_ds)
CrystalReportViewer1.ReportSource = CrReportDocument
CrystalReportViewer1.Show()