Hi, What code do I need to call/show a report (rdlc not crystal) in VB.Net 2005 from a button on a windows form. I'm assuming I'll need to add reference first but what reference? I want to show a report that is bound to the application i.e. not having to specify a file path, is this possible in VS 2005?
As an aside I've also been playing with Crystal reports which appear to be a bit slicker but I'm worried about the deployment of the application being an issue for non-techy users as when I deployed the app on a test machine it had to search the net for the viewer. Anyway best stick to the above question.
Hi emoreau I'd seen that link in previous listings on similar issues but the code samples do not really help me as the report files they make reference to are embedded in forms and most of the example are in c#. All I'm looking for is some basic sample code that explains how to open an rdlc report by clicking a button on a report. The report however must be imbedded in the project and not referenced via a path how is this achieved?
The comment by mimcc is valid as if I cannot get the rdlc report working I will probably attampt the same thing in Crystal reports which appears to have better support - I am still concerned that my relatively small app will balloon out though with the inclusion of client side Crystal software.