CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2000
    Location
    Colombo,Srilanka
    Posts
    50

    Crystal report Problem

    Hi gurus.
    I wrote a dll which diaplay a crystal report.But when u call that function it display the report and automattically shut down.there is hardly any time to read this.Y is this?.How can i avoid this.
    Follows the way i wrote my code

    CrystalReport1.ReportFileName = GetPath(mpath) & "\reports\AmzCal.rpt"
    CrystalReport1.DataFiles(0) = mpath & "\GCCPoints.mdb"
    CrystalReport1.DataFiles(1) = mpath & "\Server.mdb"
    CrystalReport1.Destination = crptToWindow
    CrystalReport1.WindowState = crptMaximized
    CrystalReport1.WindowLeft = 0
    CrystalReport1.WindowTop = 0
    CrystalReport1.Action = 1




    Dinesh Asanka

  2. #2
    Join Date
    May 2001
    Posts
    36

    Re: Crystal report Problem

    i would like to know which version of crystal report u r using.
    if it is crp 8 then use the
    viewreport method .





  3. #3
    Join Date
    Dec 2000
    Location
    Colombo,Srilanka
    Posts
    50

    Re: Crystal report Problem

    i'm using Crystal report 7.But now i found strange thing.It is ok when u cal from VB.But the problem comes when u call that dll from VC.Any suggestion?

    Dinesh Asanka

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

Featured