VB6+Crystal7.0简单问题????解决立马结贴

haipingma 2003-08-19 05:47:39
Dim cryApp As New CRAXDDT.Application
Dim report As CRAXDDT.report
Set report = cryApp.OpenReport(App.path & "\Report1.rpt")
CRViewer1.ReportSource = report '出问题的语句
CRViewer1.ViewReport


运行到CRViewer1.ReportSource = report
出现类不支持自动化或期望的接口
请高手指点
...全文
53 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
dreamreality 2003-08-20
  • 打赏
  • 举报
回复
Dim cryApp As New CRAXDRT.Application
Dim report As CRAXDRT.report
Set report = cryApp.OpenReport(App.path & "\Report1.rpt")
CRViewer1.ReportSource = report
CRViewer1.ViewReport
搞定
加分
给分
dreamreality 2003-08-19
  • 打赏
  • 举报
回复
up

809

社区成员

发帖
与我相关
我的任务
社区描述
VB 多媒体
社区管理员
  • 多媒体
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧