> I am writing an application that i will have to distribute some
> that will be called by a VB app and the crystal OCX. I have simply
> files as .rpt files and each contains a small bit map. The files are
> each and i am hoping to pack at least 10 of them. The exe that calls
> only 400k!
> Does anyone have any good practices for shipping reports for an
> (other than compressing them and decpmressing when using them!).
> Jamie Clifton
I actually import all of my Crystal Report
s into my VB project.
Each report becomes a .dsr. With the first report import, you choose
the option of creating a form with a CRViewer on it. Every subsequent
report, do not choose this option. On the load event of your
"viewer" form, dim each of your reports as objects:
dim report1 as new rptMyReport
Then set your reportsource:
'(I usually use a "select case" statement to set my reportsource)
I find that this takes up "very" little memory space..and then
package and deploys very nice.
Sent via Deja.com http://www.deja.com/
Before you buy.