Hello all,
I am using Crystal Report in vs2005. I am using the following code to embeddable designer control a crystal report.
Friend CRDC As CRDESIGNERCTRLLib10.CRDesignerCtrl10
Me.CRDC = New CRDESIGNERCTRLLib10.CRDesignerCtrl10
'
'CRDC
'
Me.CRDC.ContainingControl = Me
Me.CRDC.Dock = System.Windows.Forms.DockStyle.Fill
Me.CRDC.Enabled = True
Me.CRDC.Location = New System.Drawing.Point(0, 0)
Me.CRDC.Name = "CRDC"
Me.CRDC.OcxState = CType(resources.GetObject("CRDC.OcxState"), System.Windows.Forms.AxHost.State)
Me.CRDC.Size = New System.Drawing.Size(734, 548)
Me.CRDC.TabIndex = 0
Me.Controls.Add(Me.CRDC)
When I using vs2003 it ok, but with vs2005 & 2008 it error: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
I try register regsvr32 but not ok. Please help me!!!