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 ;)
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.
Re: Opening Crystal Report in VB6
What are the errors that you are getting?
Re: Opening Crystal Report in VB6
Thanks for your reply. The error I am getting is "Physical Database Not Found"
Re: Opening Crystal Report in VB6
How do you connect to the database? Do you use DAO or ADO?
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 :ehh:
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 :ehh:
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?
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?
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. :)
Re: Opening Crystal Report in VB6
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
Re: Opening Crystal Report in VB6