jeva39
Well-known member
The scenario:
I Have 5 differents reports in my application. I create a Form and add a Report Viewer. The question is: what is the code for to permit each menu option can read the specific .RPT in the directory where the user install the application? For dabases I use Application.Startup but don't work in this case.
I.E:
Private Sub MenuItemXX_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItemXX.Click
CrystalReportViewer1.ReportSource = ??????? (What is the code here for view each report?)
End Sub
Thanks!!
I Have 5 differents reports in my application. I create a Form and add a Report Viewer. The question is: what is the code for to permit each menu option can read the specific .RPT in the directory where the user install the application? For dabases I use Application.Startup but don't work in this case.
I.E:
Private Sub MenuItemXX_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItemXX.Click
CrystalReportViewer1.ReportSource = ??????? (What is the code here for view each report?)
End Sub
Thanks!!