Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I include my report in the EXE
Message
General information
Forum:
ASP.NET
Category:
Reporting
Miscellaneous
Thread ID:
00972624
Message ID:
00972668
Views:
15
Kevin,
Yes it does appear that if I access the report as a strongly typed report the rpt file does not need to be distributed. Thanks for your reply.

I seem to remember from my VFP days (it seems so long ago) that I could also include the fr? files into the exe, but this was usually not recommended. Do you know what the .NET recommendation is in regards to this?

Einar

>Hey, Einar,
>
>If you add your RPT to the project (by clicking add...existing item), you can access the report as a strongly typed report, like so...
>
>
>Suppose you added InvoiceRpt.RPT to your project
>
>InvoiceRpt oMyReport = new InvoiceRpt();
>
>
>Now you can access the report object...and I'm pretty certain you don't need to distribute the RPT. (When you add the RPT to the project, .NET generates a CS file and other resource info for you). I believe you only need to distribute the RPT if you're using the load method to load it manually.
>
>Again, this is covered in the Brian Bischoff book.
>
>Kevin
Semper ubi sub ubi.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform