I have the following piece of VB code
rptComp.ReportFileName = gsRptComparator
rptComp.RetrieveDataFiles
f = rptComp.PrintReport
rptComp.ReportFileName = ""
rtpComp is a Crystal Report ActiveX control on the form
gsRptComparator is just a string variable containing the full path of the crystal report .rpt file
This works fine under NT4, but when the same .exe file is run under Windows2000 the report viewer seems to pop up, appear then immediately disappear.
I am running Crystal Reports 8.5, though the OCX that came with it (crystl32.ocx) is still reporting version 8.0.0.4
Any ideas/help ?
rptComp.ReportFileName = gsRptComparator
rptComp.RetrieveDataFiles
f = rptComp.PrintReport
rptComp.ReportFileName = ""
rtpComp is a Crystal Report ActiveX control on the form
gsRptComparator is just a string variable containing the full path of the crystal report .rpt file
This works fine under NT4, but when the same .exe file is run under Windows2000 the report viewer seems to pop up, appear then immediately disappear.
I am running Crystal Reports 8.5, though the OCX that came with it (crystl32.ocx) is still reporting version 8.0.0.4
Any ideas/help ?