I am getting the following error on one pc - other pc's run ok
Activex component can't create object
This occurs when executing
Dim CRXApplication As New CRAXDRT.Application
Dim CRXReport As CRAXDRT.Report
strReportName = "WW_SalesQuote.rpt"
Set CRXReport = CRXApplication.OpenReport(strVisionDir & "\Home\" & strReportName, 1)
If scrPrint Then
Note: If scrPrint is not true then the program runs without error, so it must be erroring on the CRXReport.PrintOut
I have checked that the pc has the craxdrt.dll in system32 and also all of its dependencies (as found listed in another forum). Though the craxfrt.dll dates from 1998 I am reluctant to update any, or I will have to do them all (I tried just a newer craxdrt.dll and got Invalid TLV record).
I am wondering if it could perhaps be a permissions thing? Dont know on what though. Any ideas?