I'm trying to use COM in ACU with little success.
Below is VB6 code (working):
Dim rpt As New ActiveReport
rpt.LoadLayout ("e:\\1.rpx")
ARViewer21.ReportSource = rpt
ARViewer21.Refresh
and COBOL code (not working):
77 rpt usage handle of ActiveReport.
create ActiveReport handle in rpt.
modify rpt @LoadLayout("e:\\1.rpx").
modify rptViewer @ReportSource = rpt.
modify rptViewer @Refresh().
This code fails on the first modify statement.
Please help.
#COM
#ActiveX
