Results 1 to 1 of 1

Thread: crystal reports and vb.net

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2008
    Posts
    87

    crystal reports and vb.net

    i have writen small program to show crystal reports
    i have added a form and a crystal report in expert mode and made a connection and loaded access database
    crystal report is loaded successfully
    i added crystal report viewer on form1
    and i wrote folowing code in load event of form1
    Code:
    Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
            CrystalReportViewer1.ReportSource = AppDomain.CurrentDomain.BaseDirectory.ToString & "CrystalReport1.rpt"
        End Sub
    when i run this project a message box comes at start
    "Load Report failed!"
    but programs runs successfully
    in visual studio crystal reports are installed
    kindly tell me what is the problem
    see attached file
    thanks
    Attached Files Attached Files

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