Print Page | Close Window

Error Crystal Report Embeddable Designer control

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Writing Code
Forum Discription: .NET programming API, report integration
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=14213
Printed Date: 19 May 2024 at 11:15am


Topic: Error Crystal Report Embeddable Designer control
Posted By: tykhai
Subject: Error Crystal Report Embeddable Designer control
Date Posted: 27 Aug 2011 at 5:09am
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!!!



Print Page | Close Window