-
Apr 4th, 2008, 04:48 AM
#1
Thread Starter
Lively Member
[RESOLVED] how to add crystal report xi into vb6
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.
-
Apr 5th, 2008, 01:33 AM
#2
Frenzied Member
-
Apr 6th, 2008, 10:54 PM
#3
Thread Starter
Lively Member
Re: how to add crystal report xi into vb6
hi,
i'm sorry guys, i still dont understand how to import the report into vb6
-
Apr 7th, 2008, 08:04 PM
#4
Thread Starter
Lively Member
Re: how to add crystal report xi into vb6
Originally Posted by VBFnewcomer
Anyway try this... Goto Project->Add Crystal Reports 11 and follow the wizard.
Hi 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".
Last edited by alexis_jane; Apr 7th, 2008 at 08:51 PM.
-
Apr 8th, 2008, 12:00 AM
#5
Frenzied Member
Re: how to add crystal report xi into vb6
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.
-
Apr 8th, 2008, 12:56 AM
#6
Thread Starter
Lively Member
Re: how to add crystal report xi into vb6
Originally Posted by VBFnewcomer
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?
-
Apr 8th, 2008, 01:11 AM
#7
Frenzied Member
Re: how to add crystal report xi into vb6
you should find it in the packing you purchased.
Click on Help-> About.. and see the Top Left you should find your installation type
-
Apr 8th, 2008, 01:18 AM
#8
Thread Starter
Lively Member
Re: how to add crystal report xi into vb6
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?
-
Apr 8th, 2008, 01:23 AM
#9
Frenzied Member
Re: how to add crystal report xi into vb6
Originally Posted by alexis_jane
My installation type was CR Developer (Product Type:Full). Can it be used to add in the crystal report to VB6?
sure why not.
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.
-
Apr 8th, 2008, 01:54 AM
#10
Thread Starter
Lively Member
-
Apr 8th, 2008, 03:29 AM
#11
Frenzied Member
Re: how to add crystal report xi into vb6
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.
-
Apr 8th, 2008, 04:35 AM
#12
Thread Starter
Lively Member
Re: how to add crystal report xi into vb6
Originally Posted by VBFnewcomer
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.
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.
-
Apr 8th, 2008, 04:49 AM
#13
Frenzied Member
Re: how to add crystal report xi into vb6
ofcourse. Thats how this forum is flourishing.
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
-
Apr 8th, 2008, 08:38 PM
#14
Thread Starter
Lively Member
Re: how to add crystal report xi into vb6
Hi,
i have the "viewer" then what should i do? i mean, how am i going to add my report with it? he..he...
-
Apr 9th, 2008, 12:35 AM
#15
Frenzied Member
Re: how to add crystal report xi into vb6
Add ref to ....
Code:
Crystal reports ActiveX Designer Runtime Library 11.0
Crystal reports ActiveX Designer Design and Runtime Library 11.0
make the form & viewer large enough.
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
Last edited by VBFnewcomer; Apr 9th, 2008 at 12:47 AM.
-
Apr 8th, 2020, 01:33 AM
#16
New Member
Re: how to add crystal report xi into vb6
I don't have CR activeX report Viewer Library 11.0.Pls Help me
Even i Am from India.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|