Showing posts with label component. Show all posts
Showing posts with label component. Show all posts

Sunday, March 25, 2012

crystal32.ocx in Crystal Reports 8.5

Do we have crystal32.ocx component in crystal 8.5 ? I have installed crystal 8.5, but my VB program complains that "crystal32.ocx" is missing. When i looked for this component on my machine, i found that it is not there.Hi,

Reinstall the crystal reports, In setup select custom option enable the all feature to install.

Thanks & Regards,
K.Babu

Do we have crystal32.ocx component in crystal 8.5 ? I have installed crystal 8.5, but my VB program complains that "crystal32.ocx" is missing. When i looked for this component on my machine, i found that it is not there.sql

Tuesday, March 20, 2012

crystal reports

I have vb.net 2003 and crystal reports v10.

1) how shall I add component of crystal reports in my vb.net?

2) In crystal reports how do you find the number of the days in a particular month.(e.g. aug has 31 days & sept has 30 days). (e.g in vb.net MYDAYS_MONTH = DateTime.DaysInMonth(Now.Year, Now.Month)

3) what shall i do in order that my reports shall be displayed in vb.net while running the program. (i.e If I run the program it does not display the report but if I run the report separately then I can view the datas).

Note:
a) the database is in access.
b) it has the database password.

ThanksI'm using Crystal Reports XI, but I think the code is just about the same.

To view a report using code:

1) Add the "Crystal Report Smart Viewer" control to your project (crviewer.dll)
2) Create a form, and add a CRViewer control to the form.
3) In order to view the report in the form, your would look something like the following (I haven't had much expirience with VB.NET, but I'm sure the code would look quite similar):

Declarations:
Private crxApplication As New CRAXDRT.Application
Private crxReport As CRAXDRT.Report

This goes in your Form_Load event:
Set crxApplication = New CRAXDRT.Application

When you need to display your report:
Set crxReport = crxApplication.OpenReport(ReportFile)
crxReport.DiscardSavedData

For X = 1 To crxReport.Database.Tables.Count - 1
crxReport.Database.Tables(X).Location = FullDBPath
Next X

CrViewer.ReportSource = crxReport
CrViewer.ViewReport

I hope this helps.
-- Heather|||Dear Heather,

Thanks for your help.

I would like to inform you that I followed all your steps as you have said put still all my reports are not been displayed in my application.

Can I have your help please.

Thanks|||Did you get error or the page is not displayed properly?

Monday, March 19, 2012

crystal report with vc++

hi ...
please.... i don't know how could i create report with vc++6 using crystal report XI , when i added the ActiveX component (Crystal ActiveX Report Viewer Control 11) , two classes have added to my project :
CCrystal Report Viewer 11 , and CCRVtrack Cursor Info .
so how could i use these classes ?? and is there any tutorial or sample code avaliable somewhere .
thanks alot for interest in my query .See if you find answer here
www.support.businessobjects.com

Sunday, March 11, 2012

Crystal report in VB 6.0...

Dear Friends,
Iam using VB 6.0 and i want to use Crystal Report in VB.. I cd not find any component for this and also no OCX is found in my VB.. While installing Vb 6.0 i've selected all items with their sub items.. Is tht possible for me to use CR in VB 6.0 ..If so, which version of CR will be of much use? Also i want to use SQL as database in CR.. What is the way of getting SQL?(any software for installing it in my system?)..
Hope to get back from u soon..
Thanks in adv.
Cheers,
Radhika.S.Welcome to dev-archive :wave:

To use Crystal Report, you will have to install Crystal Report on your system to create reports. You can go to www.businessobjects.com website to check which is the latest version they are selling right now. To view reports in VB you will need either the Crystal Report Control or Crystal Report Viewer Control. I guess both of these will be installed when you install crystal reports on your system.

Crystal reports can be used with almost all types of backend databases. If you want a free edition of the SQL for development purposes, you can download Microsoft Database Engine / SQL Express 2005 from www.microsoft.com.