DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/)
-   Visual Basic 4 / 5 / 6 (http://www.daniweb.com/forums/forum4.html)
-   -   help! how can i cnnect CR10 and vb6? (http://www.daniweb.com/forums/thread115432.html)

janel98 Mar 24th, 2008 8:11 am
help! how can i cnnect CR10 and vb6?
 
how can i connect crystal report 10 to vb6.0? is it possible?
i really need to know how,,,
thanks in advance!

techtix Apr 3rd, 2008 12:16 am
Re: help! how can i cnnect CR10 and vb6?
 
Crystal installs with a programmable object model. The following code is derived from Crystal 8.5, but should provide you with a general reference to work from.

!! Add references to the Crystal library


'Crystal objects
Private crxApplication As New CRAXDRT.Application
Private crxReport As CRAXDRT.Report

'Report (*.rpt)
Dim mReportFile as string

Set crxReport = crxApplication.OpenReport(mReportFile, 1)
... and so on.

You can find the developers reference on the Crystal developer site.
http://diamond.businessobjects.com/


All times are GMT -4. The time now is 3:47 pm.

Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC