1,105,328 Community Members

How add Crystal Report Version 11 in VB6

Member Avatar
priyakumar
Newbie Poster
1 post since Feb 2006
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

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

Member Avatar
saileshkhetia
Newbie Poster
2 posts since Apr 2006
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

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.

Member Avatar
rajesh.nich
Newbie Poster
4 posts since May 2006
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

hi,

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

Thanks

Rajesh

Member Avatar
saileshkhetia
Newbie Poster
2 posts since Apr 2006
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

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

Member Avatar
rajesh.nich
Newbie Poster
4 posts since May 2006
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

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.........................:cool:

Member Avatar
rkotti
Newbie Poster
2 posts since Jun 2006
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

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

Thx

Member Avatar
rajesh.nich
Newbie Poster
4 posts since May 2006
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

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

Member Avatar
rkotti
Newbie Poster
2 posts since Jun 2006
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

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

Member Avatar
wildwolf
Newbie Poster
1 post since Nov 2006
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

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.........................:cool:

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.

Member Avatar
Henry Schubel
Light Poster
43 posts since Feb 2007
Reputation Points: 5 [?]
Q&As Helped to Solve: 3 [?]
Skill Endorsements: 0 [?]
 
0
 

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.

Member Avatar
Junky69
Newbie Poster
1 post since Mar 2007
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
1
 

While I haven't yet read through the PDF to confirm that it solves my problems (same as those written above), I just want to give a big thanks to Henry and give the URL for this PDF:
http://support.businessobjects.com/communityCS/TechnicalPapers/cr9_ocx_to_rdc.pdf
As mentioned, to reach it via searching BusinessObjects website, search on "OCX RDC" in quotes.

Member Avatar
Henry Schubel
Light Poster
43 posts since Feb 2007
Reputation Points: 5 [?]
Q&As Helped to Solve: 3 [?]
Skill Endorsements: 0 [?]
 
0
 

If you have any more grief with it, make a post. I can post code samples if need be.
Once you look at the code needed, a lot of things make sense, but it's all in that one document anyway.

Member Avatar
urkhan
Newbie Poster
3 posts since Mar 2007
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

Hi all,

Just a quick question - crystal report professional cann't be called from VB ?

What are these different keys ? can u please provide more info on this ?

thanks

Member Avatar
Henry Schubel
Light Poster
43 posts since Feb 2007
Reputation Points: 5 [?]
Q&As Helped to Solve: 3 [?]
Skill Endorsements: 0 [?]
 
0
 

No one said you can't call Crystal from VB, there is just a lot of confusion on how exactly to call CRv11 from VB6.

I don't know what you question is regarding "keys". Elaborate if you have a question.

Member Avatar
urkhan
Newbie Poster
3 posts since Mar 2007
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

I have "professional" edition ? and i read on vendor site that only developer edition can do application integration...does it make any sense ?

when i said about keys - it means developer key or general key - a reply mentioned in the Sailesh's reply...

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

Member Avatar
kalpanamasare
Newbie Poster
3 posts since Jul 2007
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

Hi,
I couldn't find Crystal ActiveX Report Viewer Liberary 11.0 in vb6 reference, can u plz send me details.
I m having .dsr reports which was created in Crystal report 8,i want to open/modify in crystal report 11.
Can anyone plz tell me what is the latest version is avalible now for crystal report.
plz reply me asap.

kalpana

Member Avatar
jomelle
Newbie Poster
7 posts since Apr 2008
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

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

Hi.
Can you please give me a copy of the developer key that you use...Please .....maybe it works to my installer of cr 11.
I really need the developer key becoz I keep looking on the different sites and i found nothing... I only found the registration key..
Thnks..

Member Avatar
LinXianHan
Newbie Poster
2 posts since May 2008
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

if i have installed CR 11 which serial key is on the CD, can it be categorized as developer key?
Thx for the help, and it would be very helpful for me if the answer is sent to my email on han_li3m@yahoo.com.sg
Thx a lot. God Bless Us.

Member Avatar
LinXianHan
Newbie Poster
2 posts since May 2008
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

may i know ur email plz?
thx a lot for u Rajesh .. :-)

Member Avatar
Henry Schubel
Light Poster
43 posts since Feb 2007
Reputation Points: 5 [?]
Q&As Helped to Solve: 3 [?]
Skill Endorsements: 0 [?]
 
0
 

if i have installed CR 11 which serial key is on the CD, can it be categorized as developer key?
Thx for the help, and it would be very helpful for me if the answer is sent to my email on han_li3m@yahoo.com.sg
Thx a lot. God Bless Us.

You need to purchase the Developer Edition.

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article