Hello,
How can I call a crystal report that is generated in my .exe? I tried these 2 ways and it errors that it cannot find the report in the specified path. If I copy the crystal reports into the path with the .exe it works fine. However, I do not want to have to do that because they are already in the .exe.
Dim CRengine As CrystalDecisions.CrystalReports.Engine.Table
Dim CRlogon As CrystalDecisions.Shared.TableLogOnInfo
Dim rptDocument As New ReportDocument
rptDocument.Load("..\CrystalReport1.rpt")
Or like this...
rptDocument.Load("CrystalReport1.rpt")
Thanks,
FoxT
How can I call a crystal report that is generated in my .exe? I tried these 2 ways and it errors that it cannot find the report in the specified path. If I copy the crystal reports into the path with the .exe it works fine. However, I do not want to have to do that because they are already in the .exe.
Dim CRengine As CrystalDecisions.CrystalReports.Engine.Table
Dim CRlogon As CrystalDecisions.Shared.TableLogOnInfo
Dim rptDocument As New ReportDocument
rptDocument.Load("..\CrystalReport1.rpt")
Or like this...
rptDocument.Load("CrystalReport1.rpt")
Thanks,
FoxT