Results 1 to 12 of 12

Thread: Opening Crystal Report in VB6

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2005
    Posts
    15

    Talking Opening Crystal Report in VB6

    Hello every1,

    I am experiencing some difficulty opening Crystal reports that i have created in VB6 on other machines(some which do not have Crystal Reports).

    I am using an access database which i connect to from crystal. The databse and crystal report files(*.rpt) are in the same folder.

    I create a simple report, retrieving data from a database then save the report in the same folder as the vb6 project and the database. I then ditribute the vb6 project folder to another machine.

    when trrying to open the vb6 project it gives crystal report errors. Even if i have CR on that machine it still gives errors opening and does not display any data. please help.

    thanks millions ;)

  2. #2
    Hyperactive Member divined's Avatar
    Join Date
    Aug 2004
    Location
    Thessaloniki, Greece
    Posts
    447

    Re: Opening Crystal Report in VB6

    Have you made references to the required Crystal Reports objects? If you`re using the RDC component you`ll need a reference to the Crystal Reports Designer Run-Time library and possibly the Report viewer library.
    SteadFast!

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

    Re: Opening Crystal Report in VB6

    What are the errors that you are getting?

  4. #4

    Thread Starter
    New Member
    Join Date
    Sep 2005
    Posts
    15

    Re: Opening Crystal Report in VB6

    Thanks for your reply. The error I am getting is "Physical Database Not Found"

  5. #5
    Hyperactive Member divined's Avatar
    Join Date
    Aug 2004
    Location
    Thessaloniki, Greece
    Posts
    447

    Re: Opening Crystal Report in VB6

    How do you connect to the database? Do you use DAO or ADO?
    SteadFast!

  6. #6

    Thread Starter
    New Member
    Join Date
    Sep 2005
    Posts
    15

    Re: Opening Crystal Report in VB6

    I can use both(Can you show me both ways) but when i distribut my report with my vb app and Databse i get all sorts of errors including the one above. pleae show me how to create a report then distibute it to other pc's without Crystal. Thanx for your help

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

    Re: Opening Crystal Report in VB6

    Quote Originally Posted by shalin
    I can use both(Can you show me both ways) but when i distribut my report with my vb app and Databse i get all sorts of errors including the one above. pleae show me how to create a report then distibute it to other pc's without Crystal. Thanx for your help
    If you are using Crystal Reports you will have to distribute the Crystal runtime dependancy files with your setup package. There is no way around that.

    What installation package are you using?

  8. #8

    Thread Starter
    New Member
    Join Date
    Sep 2005
    Posts
    15

    Re: Opening Crystal Report in VB6

    I am using a PAckage called Install Creator. What Files would i need if i am distributing it to WinXP machines?

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

    Re: Opening Crystal Report in VB6

    Quote Originally Posted by shalin
    I am using a PAckage called Install Creator. What Files would i need if i am distributing it to WinXP machines?
    This thread should provide some answers to that question.

  10. #10

    Thread Starter
    New Member
    Join Date
    Sep 2005
    Posts
    15

    Re: Opening Crystal Report in VB6

    thanx dude..

  11. #11
    New Member
    Join Date
    Oct 2005
    Posts
    1

    Re: Opening Crystal Report in VB6

    Hello

    i need held to connect cristal report 9.0 report with Visual basic 6.0.

    How to call Cristal Report from Visual Basic 6.0

    How to pass Parameters to Cristal reports from Visual Basic 6.0 Variables

    Help me with all the techinique and methods and Codes


    Gurpreet

  12. #12
    Addicted Member
    Join Date
    Nov 2005
    Posts
    153

    Re: Opening Crystal Report in VB6

    I dont know if this will help you

    http://support.businessobjects.com/l...s/c2016797.asp

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