How add Crystal Report Version 11 in VB6

Reply

Join Date: Feb 2006
Posts: 1
Reputation: priyakumar is an unknown quantity at this point 
Solved Threads: 0
priyakumar priyakumar is offline Offline
Newbie Poster

How add Crystal Report Version 11 in VB6

 
0
  #1
Feb 2nd, 2006
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
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 2
Reputation: saileshkhetia is an unknown quantity at this point 
Solved Threads: 0
saileshkhetia saileshkhetia is offline Offline
Newbie Poster

Re: How add Crystal Report Version 11 in VB6

 
0
  #2
Apr 30th, 2006
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.
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 4
Reputation: rajesh.nich is an unknown quantity at this point 
Solved Threads: 0
rajesh.nich's Avatar
rajesh.nich rajesh.nich is offline Offline
Newbie Poster

Re: How add Crystal Report Version 11 in VB6

 
0
  #3
May 3rd, 2006
hi,

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

Thanks

Rajesh
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 2
Reputation: saileshkhetia is an unknown quantity at this point 
Solved Threads: 0
saileshkhetia saileshkhetia is offline Offline
Newbie Poster

Re: How add Crystal Report Version 11 in VB6

 
0
  #4
May 10th, 2006
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
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 4
Reputation: rajesh.nich is an unknown quantity at this point 
Solved Threads: 0
rajesh.nich's Avatar
rajesh.nich rajesh.nich is offline Offline
Newbie Poster

Re: How add Crystal Report Version 11 in VB6

 
0
  #5
May 10th, 2006
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.........................
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 2
Reputation: rkotti is an unknown quantity at this point 
Solved Threads: 0
rkotti rkotti is offline Offline
Newbie Poster

Re: How add Crystal Report Version 11 in VB6

 
0
  #6
Jun 21st, 2006
Rajesh, can you please send all references related to this code since I'm unable to declare CrystalReport1.

Thx
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 4
Reputation: rajesh.nich is an unknown quantity at this point 
Solved Threads: 0
rajesh.nich's Avatar
rajesh.nich rajesh.nich is offline Offline
Newbie Poster

Re: How add Crystal Report Version 11 in VB6

 
0
  #7
Jun 22nd, 2006
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
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 2
Reputation: rkotti is an unknown quantity at this point 
Solved Threads: 0
rkotti rkotti is offline Offline
Newbie Poster

Re: How add Crystal Report Version 11 in VB6

 
0
  #8
Jul 14th, 2006
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.
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 1
Reputation: wildwolf is an unknown quantity at this point 
Solved Threads: 0
wildwolf wildwolf is offline Offline
Newbie Poster

Re: How add Crystal Report Version 11 in VB6

 
0
  #9
Nov 21st, 2006
Originally Posted by rajesh.nich View Post
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.
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 41
Reputation: Henry Schubel is an unknown quantity at this point 
Solved Threads: 3
Henry Schubel Henry Schubel is offline Offline
Light Poster

Re: How add Crystal Report Version 11 in VB6

 
0
  #10
Feb 1st, 2007
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.
Reply With Quote Quick reply to this message  
Reply

Message:



Other Threads in the Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC