I am using VB.NET2008 and Crystal Reports 11.5. I have created rpt in crystal reports app and created Picture Object. also gave the Graphic Location formula as follows;
{pic_path.path_name} + "\" + {reg_emp.emp_qid} + ".jpg"
pic_path.path_name and reg_emp.emp_qid has the file locationa path something as follows;
"C:\bin" + "\" + "2345" + ".jpg"
It is working fine with the report. But when I import it on VB.NET and use below code to display the rpt;
Dim cryRpt As New rpt_labor_card ' this is the rpt file
cryRpt.SetDataSource(ds) 'ds has the all data to be displayed in report
rpt_view.CrystalReportViewer1.ReportSource = cryRpt
rpt_view.CrystalReportViewer1.Refresh()
rpt_view.CrystalReportViewer1.RefreshReport()
rpt_view.Show()
But picture is not displaying in report and the Graphics Location is not available in Format Object > Picture.
What can I do to display picture in rpt file ?
Thank you,
Sameera