941,498 Members | Top Members by Rank

Ad:
You are currently viewing page 1 of this multi-page discussion thread
Feb 2nd, 2006
0

How add Crystal Report Version 11 in VB6

Expand Post »
Hi,
How add Crystal Report Version 11 in VB6. At present I have been using Crystal Ver 8. I need to upgrade to Crystal Ver 8.5 or above to implement exporting rpt's to pdf. Now, I have installed CRystal report 11 Developer edition in my system and from VB i am not able to add Crystal Report control of version 11. Can anyone pls help.

thanks,
priya
Reputation Points: 10
Solved Threads: 0
Newbie Poster
priyakumar is offline Offline
1 posts
since Feb 2006
Apr 30th, 2006
0

Re: How add Crystal Report Version 11 in VB6

Quote originally posted by priyakumar ...
Hi,
How add Crystal Report Version 11 in VB6. At present I have been using Crystal Ver 8. I need to upgrade to Crystal Ver 8.5 or above to implement exporting rpt's to pdf. Now, I have installed CRystal report 11 Developer edition in my system and from VB i am not able to add Crystal Report control of version 11. Can anyone pls help.

thanks,
priya
Hi Priya,

I'm also having a simlar problem - using RDC in VB6 with CR8.5 was a breeze - but not so in CR11 - I simply can't get any Designers for CR11 in the VB6 environment..I wonder how it is possible...?

I've read the Technical PDF that comes with CR11 but that too goes on saying all is possible using RDC and CR11 etc etc - but exactly how..I'm baffled - did you manage to get it done ? Please let me know how. Will aprreciate your help verty much

Thanks.

Sailesh.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
saileshkhetia is offline Offline
2 posts
since Apr 2006
May 3rd, 2006
0

Re: How add Crystal Report Version 11 in VB6

hi,

i have same problem. if u got a solution for that pls let me know

Thanks

Rajesh
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rajesh.nich is offline Offline
4 posts
since May 2006
May 10th, 2006
0

Re: How add Crystal Report Version 11 in VB6

Quote originally posted by rajesh.nich ...
hi,

i have same problem. if u got a solution for that pls let me know

Thanks

Rajesh
Hi Rajesh,

Yes, I finally got the solution - actually during installation of CR11, I was using a registraion Key that was only for CR11 and not for Developer. After unistalling entrire CR11 and re-installong agagin (with Developer Key), well....things couldn't be better. Simply start VB6 IDE and things behave just as they were in the CR8.5 days.

Regards,
Sailesh
Reputation Points: 10
Solved Threads: 0
Newbie Poster
saileshkhetia is offline Offline
2 posts
since Apr 2006
May 10th, 2006
0

Re: How add Crystal Report Version 11 in VB6

Hi,

Sailesh thanks for replying. That is one of the specific reason.

And these for Priya also..........

In CR XI you have Developer version only will allow you to deploy with VB.

And in VB you have to follow these steps to run CRXI reports in VB

1. In VB project properties go to Designer tab and select Crystal Reports 11 and in Controls tab select Crystal ActiveX Report Viewer Liberary 11.0

2. You will get one more tool box in tools window called Crystal Reports


3. and write the code like this in the form load (or which event you want)
Dim Report as New CrystalReport1

CrystalActiveXReportViewer.ReportSource = Report.Application.OpenReport( Give Report Path )

CrystalActiveXReportViewer.ViewReport

4. Run the Application.

Let me know if any queries.........................
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rajesh.nich is offline Offline
4 posts
since May 2006
Jun 21st, 2006
0

Re: How add Crystal Report Version 11 in VB6

Rajesh, can you please send all references related to this code since I'm unable to declare CrystalReport1.

Thx
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rkotti is offline Offline
2 posts
since Jun 2006
Jun 22nd, 2006
0

Re: How add Crystal Report Version 11 in VB6

Hi,

You can declare Crystal Report1 when you drag and drop crystal report viewer in ur form and name it as Crystalreport1.

if u have any quries realted to this let me know......


Thanks
Rajesh
99400 34579
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rajesh.nich is offline Offline
4 posts
since May 2006
Jul 14th, 2006
0

Re: How add Crystal Report Version 11 in VB6

It didn't work. I think we are missing some references. please check this URL http://forums.belution.com/en/crystal/000/030/52.shtml
Last edited by rkotti; Jul 14th, 2006 at 7:43 pm.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rkotti is offline Offline
2 posts
since Jun 2006
Nov 21st, 2006
0

Re: How add Crystal Report Version 11 in VB6

Hi,

Sailesh thanks for replying. That is one of the specific reason.

And these for Priya also..........

In CR XI you have Developer version only will allow you to deploy with VB.

And in VB you have to follow these steps to run CRXI reports in VB

1. In VB project properties go to Designer tab and select Crystal Reports 11 and in Controls tab select Crystal ActiveX Report Viewer Liberary 11.0

2. You will get one more tool box in tools window called Crystal Reports


3. and write the code like this in the form load (or which event you want)
Dim Report as New CrystalReport1

CrystalActiveXReportViewer.ReportSource = Report.Application.OpenReport( Give Report Path )

CrystalActiveXReportViewer.ViewReport

4. Run the Application.

Let me know if any queries.........................


hi,
i couldn't find Crystal ActiveX Report Viewer Liberary 11.0 in vb6 reference, can you give me the craxdrt.dll and craxddrt.dll version 11.0.
Last edited by wildwolf; Nov 21st, 2006 at 2:55 am.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
wildwolf is offline Offline
1 posts
since Nov 2006
Feb 1st, 2007
0

Re: How add Crystal Report Version 11 in VB6

If you haven't gotten past this issue, I can sympathize with you. It took me many hours as well. The answer is actually in BizObjects Knowledgebase, but it isn't so obvious what to look for. Query their KB for "OCX RDC" and find the technical paper "Migrating from the OCX Control to the Crystal Reports 9 Report Designer Component (RDC)". The RDC is essentially unchanged from versions 9 thru version 11, which is what throws many off. Get the document and read around page 17 for sample code. I have all my reports pointing to a named data source or DSN. Your VB program must also step through and assign the DSN to each table in the report. See sample code on page 44 of the document.
Reputation Points: 15
Solved Threads: 3
Light Poster
Henry Schubel is offline Offline
42 posts
since Feb 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
This thread is currently closed and is not accepting any new replies.
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: open an unknown file with Visual Basic
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: MSGRID.GRID and grid32.ocx





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC