1、打包后安装提示:
"The Microsoft Layer for unicode(unicows.dll) can not be found,This Program will now exit."
2、运行时提示:
运行时错误429
ActiveX 不能创建对象。请问如何解决,谢谢!,分不够再加。代码如下:
Private Sub Command1_Click()
Dim RptPath As String '定义一个变量保存报表路径
Dim CRY As CRAXDRT.Report
Dim CRYAT As CRAXDRT.Application
Set CRYAT = New CRAXDRT.Application RptPath = App.Path & "\Report1.rpt"
Set CRY = CRYAT.OpenReport(RptPath)
CRViewer91.ReportSource = CRY
CRViewer91.ViewReport
End Sub
"The Microsoft Layer for unicode(unicows.dll) can not be found,This Program will now exit."
2、运行时提示:
运行时错误429
ActiveX 不能创建对象。请问如何解决,谢谢!,分不够再加。代码如下:
Private Sub Command1_Click()
Dim RptPath As String '定义一个变量保存报表路径
Dim CRY As CRAXDRT.Report
Dim CRYAT As CRAXDRT.Application
Set CRYAT = New CRAXDRT.Application RptPath = App.Path & "\Report1.rpt"
Set CRY = CRYAT.OpenReport(RptPath)
CRViewer91.ReportSource = CRY
CRViewer91.ViewReport
End Sub
第二个问题,你开发环境下安装的水晶报表安装密码,没有api创建报表的权限,所以不能通过代码的newreport方法创建报表
http://expert.csdn.net/Expert/topic/2047/2047655.xml?temp=.6340296