I print reports using a windows service and the invalid printer pop ups cause an exception. Setting the view [no printer option] fixes this but it is easy to miss. is there a way to do this in c#?
ReportDocument _report;
string _reportPath;
string _reportPath;
_report = new ReportDocument();
_report.Load(reportPath);
_report.???
ReportDocument _report;
string _reportPath;
string _reportPath;
_report = new ReportDocument();
_report.Load(reportPath);
_report.???