Results 1 to 9 of 9

Thread: Crystal Reports XI and VB6 Example

  1. #1

    Thread Starter
    Giants World Champs!!!! Mark Gambo's Avatar
    Join Date
    Sep 2003
    Location
    Colorado
    Posts
    2,965

    Crystal Reports XI and VB6 Example

    In another forum someone asked if anyone could post an example of displaying a CR by using VB6.

    If you have any questions please feel free to post them here.
    Attached Files Attached Files
    Last edited by Mark Gambo; Aug 28th, 2007 at 01:37 PM.
    Regards,

    Mark

    Please remember to rate posts! Rate any post you find helpful. Use the link to the left - "Rate this Post". Please use [highlight='vb'] your code goes in here [/highlight] tags when posting code. When a question you asked has been resolved, please go to the top of the original post and click "Thread Tools" then select "Mark Thread Resolved."


  2. #2
    New Member
    Join Date
    Dec 2006
    Posts
    4

    Re: Crystal Reports XI and VB6 Example

    Ahhh. Just what I was looking for!

  3. #3
    Junior Member
    Join Date
    Feb 2009
    Posts
    28

    Re: Crystal Reports XI and VB6 Example


  4. #4
    PowerPoster abhijit's Avatar
    Join Date
    Jun 1999
    Location
    Chit Chat Forum.
    Posts
    3,226

    Re: Crystal Reports XI and VB6 Example

    Quote Originally Posted by jpcatherine View Post
    Error Image
    Do you have a reference to the reports control?

    Everything that has a computer in will fail. Everything in your life, from a watch to a car to, you know, a radio, to an iPhone, it will fail if it has a computer in it. They should kill the people who made those things.- 'Woz'
    save a blobFileStreamDataTable To Text Filemy blog

  5. #5
    New Member
    Join Date
    Apr 2009
    Posts
    7

    Re: Crystal Reports XI and VB6 Example

    Quote Originally Posted by abhijit View Post
    Do you have a reference to the reports control?

    Im having the same problem,and cant seem to get past it. It does have an error message when opening the project, where it says
    Code:
    Class {BD4B4E61-F7B8-11D0-964D-00A0C9273C2A} of control CrystalReport1 was not a loaded control class.
    But regarless of reference or component, I cant seem to get it to work. Any help is appreciated.

  6. #6
    Member
    Join Date
    Dec 2009
    Posts
    58

    Re: Crystal Reports XI and VB6 Example

    Dear Team

    I downloaded this project and try to run it but having same compile error problem .I have installed VB6 and crystal report 9 on my PC.
    How to resolve this problem.which reference i should select to run this application and what are other requirement please any body let me know.

    Thanks in advance
    Amit Panchal

  7. #7
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Crystal Reports XI and VB6 Example

    What are the exact error(s) that you are getting?

  8. #8
    Member
    Join Date
    Dec 2009
    Posts
    58

    Re: Crystal Reports XI and VB6 Example

    Sir i am having the same compile error and at the same place which is shown in above reply in the same thread.

  9. #9
    New Member
    Join Date
    Apr 2012
    Posts
    1

    Re: Crystal Reports XI and VB6 Example

    Good afternoon,

    I am just trying to fire up your sample and it gets and error at:

    VB6 - Crystal Reports XI

    Private Sub Form_Load()
    Dim rs As ADODB.Recordset, rs2 As ADODB.Recordset
    Dim strSQL As String


    WindowState = 0
    Screen.MousePointer = vbHourglass

    Set Report = New CrystalReport1
    Set rs = New ADODB.Recordset
    Set rs2 = New ADODB.Recordset

    I have the Crystal ActiveX Report Viewer Library 11.5 registered as an component and is marked in the References under Project.

    Any ideas why the error?

    Compile Error:
    User-definded type not defined.

    Error is pointing at " Set Report = New CrystalReport1"

    Thanks

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