on ‎2023 Feb 22 4:28 PM
Hello, all.
I'm trying to build a simple VS2022 test application integrating the trial version of CR2020. There is effectively one line of code:
Dim CrystalReportSource1 As New CrystalDecisions.CrystalReports.Engine.ReportDocument
Which is returning an error:
BC30002 Type 'CrystalDecisions.CrystalReports.Engine.ReportDocument' is not defined.
I need to know what reference to add or Import in order to be able to use this ReportDocument object class (or an alternate object class name, if this has changed to something outside the CrystalDecisions namespace.) I've tried a number of Crystal Reports 14.0 references that looked promising but didn't help. And in previous (CR2008) versions of this same project I had successfully used the following Imports statements, but the targets are no longer found:
Imports CrystalDecisions.Shared
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.ReportSource
Imports CrystalDecisions.CrystalReports.Engine.ReportDocument
Thanks in advance!
Request clarification before answering.
Hi Marc,
That is odd, CR runtime will use the appropriate platform DSN.
Not sure why you are seeing it use 32 bit.... Only thing I can thing of is your app is not set to X64 in the project file.
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.