I have an existing Crystal report built (using Crystal Reports), and I want to be able to share it with other users who don't have Crystal installed. Actually, I want them to be able to run it themselves. I figure the best way to do that is to setup a little VB.NET app that calls the report and sends a few parameters like date, llocation - whatever.
I know there is a Crystal Reports "viewer" in VS 2010 but I'm not sure how to use it to run my report. I've found a couple of examples online but I must be missingsomething. This one in particular seems pretty good, but myVB doesn't like the code snippet highlighted in bold below:
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles Button1.Click
Dim cryRpt As New ReportDocument
cryRpt.Load("PUT CRYSTAL REPORT PATH HERE\CrystalReport1.rpt")
CrystalReportViewer1.ReportSource = cryRpt
Any help/insight is appreciated. Oh - and I'm putting in the actual path/file name for my file in the program - not using "PUT CRYSTAL PATH HERE" as shown above!