Hi guys,
I want to know how to add the crystal report xi into the VB application. if you guys know or have a sample of it, please share it with me.
Printable View
Hi guys,
I want to know how to add the crystal report xi into the VB application. if you guys know or have a sample of it, please share it with me.
I believe this is a variation of the same question you have asked earlier :rolleyes: regarding adding CR in SSTAB
Anyway try this... Goto Project->Add Crystal Reports 11 and follow the wizard. :wave:
hi,
i'm sorry guys, i still dont understand how to import the report into vb6:sick:
Hi VBFnewcomer,Quote:
Originally Posted by VBFnewcomer
Can you explain more detail on how to add the crystal reports 11 to vb6. i dont see "Add Crystal reports 11" on my vb6 "project menu".
Have you installed CR XI in your system. If so which Product key did you use (Developer/Designer). Uninstall your CR XI and again install, but this time make sure you use the Developer Key.
How many product key that crystal reports have? i dont know about this. i dont have the software right now,so how can i check it? any other way to differenciate between "Developer and Designer" product key?Quote:
Originally Posted by VBFnewcomer
you should find it in the packing you purchased.
Click on Help-> About.. and see the Top Left you should find your installation type
My installation type was CR Developer (Product Type:Full). Can it be used to add in the crystal report to VB6?Quote:
Originally Posted by VBFnewcomer
sure why not.Quote:
Originally Posted by alexis_jane
Now click on Project Menu and let us know what are the listings found there (you may even post a snapshot). Also let us know if you have meddled with the default layout of vb6 installation.
ok. by the way, were vb6 using the same way to add the crystal reports xi and crystal report 2008 to it application?
:wave:
what do you find in More ActiveX Designers... also check in other Top level Menus
I cannot comment on cr 2008. Rob had given you some guidance in your other post as to 2008.
The item that is inside More ActiveX Designers is the "Data Environment" . Other Top level menu did'nt mention about Crystal reports.Quote:
Originally Posted by VBFnewcomer
The url address that Rob has given was the Crystal reports 2008 website, but there are not much info regarding how to add the crystal report to vb6. if you have a sample on how to add crystal reports xi to vb6, please share it with me. Thanks.:wave:
ofcourse. Thats how this forum is flourishing.Quote:
please share it with me
Ok since your CR is not listed...Click on Project->components (CTL+T) and scroll to see if you have CR Activex report Viewer Library 11.0 tick it. Now you should have viewer component in the Tool box. Put it in the form
Hi,
i have the "viewer" then what should i do? i mean, how am i going to add my report with it? he..he...:p
Add ref to ....
make the form & viewer large enough.Code:Crystal reports ActiveX Designer Runtime Library 11.0
Crystal reports ActiveX Designer Design and Runtime Library 11.0
In the project explorer of vb you should see CrystalReport1. click it you should see the same things as a normal CR Form (Database, special fields etc). Manipulate them as you like...
There is another easy method. Simply make a report as per your requirements. In the form where you just placed the viewer add this code..
Code:Dim appln As New CRAXDDRT.Application
Dim Report As New CRAXDDRT.Report
Private Sub Form_Load()
Me.Top = 0
Me.Height = MDI1.Height
Me.Left = (MDI1.Width - Me.Width) \ 2
Screen.MousePointer = vbHourglass
Set Report = appln.OpenReport(App.Path & "yourreport.rpt")
Report.Database.Tables(1).Location = App.Path & "\yourdb.mdb"
Report.Database.Tables(1).ConnectionProperties("Database Password") = "yourpassword"
CRViewer.ReportSource = Report
CRViewer.ViewReport
CRViewer.Zoom (100)
Screen.MousePointer = vbDefault
End Sub
Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
Set Report = Nothing
Set appln = Nothing
End Sub
Private Sub Form_Resize()
CRViewer.Top = 0
CRViewer.Left = 0
CRViewer.Height = ScaleHeight
CRViewer.Width = ScaleWidth
End Sub
I don't have CR activeX report Viewer Library 11.0.Pls Help me
Even i Am from India.