"Server has not yet been opened" while running thru VB6.0
Posted on 2002-07-10
I have created a simple crystal report and I am running with VB6.0 . Its working fine on the same computer on which Crystal report has been created but once I am deploying crystal report on the ohter machine & running there then I am getting msg "Server has not yet been opened". I am using the same ODBC & ODBS's configration.
I have coded VB to run the Crystal report like this...
In thie form CRViewer has been embaded and named as CRViewer1 .
Dim globreport As CRAXDRT.report
Dim objCrApp As CRAXDRT.Application
Dim report As CRAXDRT.report
Set objCrApp = New CRAXDRT.Application
Set globreport = objCrApp.OpenReport(RepName)
CRViewer1.ReportSource = globreport
Please help me out.