Results 1 to 1 of 1

Thread: PANIC - PLS HELP - Setup-Project with CR XI

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2006
    Location
    Austria
    Posts
    109

    PANIC - PLS HELP - Setup-Project with CR XI

    i am using VS2003 and now created a test-application to check, how i can run a CR-report from an application.

    for this i used the code (found here in the forum):

    Code:
    Dim crRep As New CrystalDecisions.CrystalReports.Engine.ReportDocument
    
            Dim gcnn As OleDb.OleDbConnection = New System.Data.OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source=" & "K:\Carizma_Daten\bauart\carizma.mdb" & ";")
    
            Dim gcna As OleDb.OleDbDataAdapter = New OleDb.OleDbDataAdapter("SELECT * from MYDB where PJprojektnr = 153", gcnn)
    
            Dim gda As New DataSet
            gcna.Fill(gda, "MYDB")
    
            crRep.Load(Application.StartupPath & "/Bericht2.rpt")
            crRep.Database.Tables(0).SetDataSource(gda.Tables(0))
            crRep.SetDataSource(gda)
    
            CrystalReportViewer.ReportSource = crRep
    i then added a setup-project, which has a reference to crystalreports11_5_net.msm

    when i now build the setup-project,
    - the setup has more than 80 MB !
    - it uses 220MB of disk space on the pc, where i installed the test-application !!
    - (it lasts 5 minutes to build the setup-project)

    PLEASE:
    - i have seen other applications using CR which were much smaller and did not install a directory "BusinessObjects" on the target-computer
    - which merge-moduls i need to install ? - i user only MS-AccesDB's via OLEdb
    - which is the correct way to create a setup-project, if i only want to execute and view pre-defined reports?

    i really hope you can help me !!!! THANK YOU !!!!!
    Last edited by sigiK; Jul 12th, 2007 at 08:25 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width