teaminfinite
asked on
ActiveX component can't create object
I'm trying to open a crystalreport from the sql server but when I try doing that using the crystal report object I get this error message "ActiveX component can't create object"
Here's my code:
Private m_objRepApp As CRAXDRT.Application
Private m_objRep As CRAXDRT.Report
Set m_objRepApp = CreateObject("CrystalRunti me.Applica tion")
Set m_objRep = m_objRepApp.OpenReport(m_s trReportPa th)
m_objRep.EnableParameterPr ompting = False
It gives me this message when this statement is executed
Set m_objRepApp = CreateObject("CrystalRunti me.Applica tion")
Can anyone help me with this problem. Thanks
Here's my code:
Private m_objRepApp As CRAXDRT.Application
Private m_objRep As CRAXDRT.Report
Set m_objRepApp = CreateObject("CrystalRunti
Set m_objRep = m_objRepApp.OpenReport(m_s
m_objRep.EnableParameterPr
It gives me this message when this statement is executed
Set m_objRepApp = CreateObject("CrystalRunti
Can anyone help me with this problem. Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER