If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Crystal Reports > Activex cant create object

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-28-11, 01:17
ARW ARW is offline
Registered User
 
Join Date: Aug 2003
Location: Auckland - New Zealand
Posts: 9
Angry Activex cant create object

I am getting the following error on one pc - other pc's run ok
Activex component can't create object

This occurs when executing
CRXReport.Export False

<Code>
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
CRXReport.PrintOut False
End If

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?
Reply With Quote
Reply

Tags
activex

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On