?
Solved

How do i call a Crystal Report in Vb.net 2008 standard edition

Posted on 2009-04-05
4
Medium Priority
?
558 Views
Last Modified: 2012-06-27
I have license software of VB.net 2008 Standard Edition and Crystal Report XI 2. I have button  in my vb application when I push it call a form which having a crystal report the but when  I push in runtime it says Specified cast not defined . . . in vb2005 their no problem  with me. . .but vb2008 I am confuse how to call report . . .plz tell me how can i call or add crystal report in vb.2008 standard edition . . . .

I am using this code

Try
            MyProjectClass.f13 = New frm_Report
            Dim objsize As Size
            objsize.Width = 856
            objsize.Height = 655
            MyProjectClass.f13.CrystalReportViewer1.Size = objsize
            Dim rpt = New rpt_consumeitems
            MyProjectClass.f13.Show()
            MyProjectClass.f13.CrystalReportViewer1.ReportSource = rpt
        Catch ex As Exception
            MessageBox.Show(ex.Message)
        End Try

Open in new window

0
Comment
Question by:jainendrasingh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 101

Accepted Solution

by:
mlmcc earned 2000 total points
ID: 24083606
According to this link CR XI is not supported in VS2008.  VS 2008 is still based on CR10

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/907e6412-a7ac-2b10-23a8-f837fcc78a37

mlmcc
0
 

Author Comment

by:jainendrasingh
ID: 24084331
Thanks its really help me but when i use VS 2005 with CR XI a error comes out few time "Load Report Failed" . . .What is this every this ok from 100 time it will come out 20 time when application is running
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 24093908
Not sure what you are getting at?

mlmcc
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question