Hi All:
I am trying to add the CrystalReportView object to a SBO form.
My problem is that caundo I assign to the ActiveX object to my CrystalReportView object the system to him: "the specified conversion is not been worth"
As it is the key of the registry? Somebody to been able to make that?
Dim oForm As Form
Dim oCreationParams As FormCreationParams
Dim oReport As CrystalDecisions.Windows.Forms.CrystalReportViewer
Dim oItem As Item
Dim o As ActiveX
'Inicializamos el formulario
oCreationParams = oAplicacion.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams)
oCreationParams.BorderStyle = BoFormBorderStyle.fbs_Sizable
oCreationParams.UniqueID = "1"
oForm = oAplicacion.Forms.AddEx(oCreationParams)
oForm.Visible = True
oItem = oForm.Items.Add("3", BoFormItemTypes.it_ACTIVE_X)
o = oItem.Specific
o.ClassID = "CrystalReports.CrystalReportViewer"
oReport = CType(o.Object, CrystalDecisions.Windows.Forms.CrystalReportViewer)
THANKS!