Writing Code
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Writing Code
Message Icon Topic: Error Crystal Report Embeddable Designer control Post Reply Post New Topic
Author Message
tykhai
Newbie
Newbie
Avatar

Joined: 27 Aug 2011
Location: Vietnam
Online Status: Offline
Posts: 1
Quote tykhai Replybullet Topic: Error Crystal Report Embeddable Designer control
    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!!!
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.