I am using access 2007 and vb.net 2005. I have already created my report and it does display on my development machine with no problems. After I install on a client machine, I receive a prompt screen to login. My access 2007 database is not password protected and I have not added the report to the application folder before I built the setup. my report is EMBEDDED.
Can someone please give me step by step instructions to set up a path, as I have no idea how to set that up. This is what I have so far which is mostly commented out. I went to EMoreau .com but there is nothing that explains what to do on embedded reports. Does embedded report mean that "a dll is create" or is the report being compiled into the setup.exe. Please give me very basic beginner steps as I cannot seem to find any information that makes sense to me.
Imports CrystalDecisions.CrystalRe
ports.Engi
ne
Imports CrystalDecisions.ReportSou
rce
Imports CrystalDecisions.Shared
Public Class CrystalReportProj
Private customersByCityReport As ReportDocument
Private Sub CrystalReportViewer1_Load(
ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CrystalReportViewer1.Load
''Load the standalone report
'CrystalReport1.Load(Forms
.Applicati
on.Startup
Path & "\rptTest.rpt")
''Pass the dataset to the report
'CrystalReport1.SetDataSou
rce(mdsDat
a)
''Pass the Report Document object to the viewer
'CrystalReportViewer1.Repo
rtSource = CrystalReport1.RPT
End Sub
Private Sub sample33_InitReport(ByVal sender As System.Object, ByVal e As System.EventArgs)
End Sub
Private Sub CrystalReportProj_Load(ByV
al sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'customersByCityReport = New ReportDocument()
'Dim reportPath As String = Application.StartupPath & "\" '& "CrystalReport1.rpt"
'customersByCityReport.Loa
d(reportPa
th)
End Sub
Private Sub CrystalReport11_InitReport
(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CrystalReport11.InitReport
End Sub
End Class
Start Free Trial