Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal (from VB) & Windows 2000 problems

Status
Not open for further replies.

GaryFrost

Programmer
Nov 29, 2001
6
GB
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 ?
 
Dump the OCX! Crystal aren't doing any further work with it - use the RDC instead.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top