Jump to content
Software FX Community

Exception of type System.ComponentModel.Design.ExceptionCollection


Recommended Posts

I have taken over the responsibility for a project from a colleague. The project in question is a VB .NET project and it uses Chart FX for .NET 6.2 .

When I try to open the form in question in design mode, I get said error message. The form works perfectly at runtime.I have tried upgrading to the latest build but I get the same error. When I comment out the ChartFX code in InitializeComponent the form loads in design mode fine.

 Any help much appreciated.

Link to post
Share on other sites

Me.chartInd1 = New SoftwareFX.ChartFX.Chart

Me.chartInd2 = New SoftwareFX.ChartFX.Chart

Me.chartIbes = New SoftwareFX.ChartFX.Chart

Me.panelCharts.Controls.Add(Me.chartInd1)

Me.panelCharts.Controls.Add(Me.chartInd2)

Me.chartInd1.BorderEffect = SoftwareFX.ChartFX.BorderEffect.Raised

Me.chartInd1.Dock = System.Windows.Forms.DockStyle.Fill

Me.chartInd1.Location = New System.Drawing.Point(0, 0)

Me.chartInd1.Name = "chartInd1"

.chartInd1 = New SoftwareFX.ChartFX.Chart

Me.chartInd2 = New SoftwareFX.ChartFX.Chart

Me.chartIbes = New SoftwareFX.ChartFX.Chart

Me.panelCharts.Controls.Add(Me.chartInd1)

Me.panelCharts.Controls.Add(Me.chartInd2)

Me.chartInd1.BorderEffect = SoftwareFX.ChartFX.BorderEffect.Raised

Me.chartInd1.Dock = System.Windows.Forms.DockStyle.Fill

Me.chartInd1.Location = New System.Drawing.Point(0, 0)

Me.chartInd1.Name = "chartInd1"

Me.chartInd2 = New SoftwareFX.ChartFX.Chart

Me.chartIbes = New SoftwareFX.ChartFX.Chart

Me.panelCharts.Controls.Add(Me.chartInd1)

Me.panelCharts.Controls.Add(Me.chartInd2)

Me.chartInd1.BorderEffect = SoftwareFX.ChartFX.BorderEffect.Raised

Me.chartInd1.Dock = System.Windows.Forms.DockStyle.Fill

Me.chartInd1.Location = New System.Drawing.Point(0, 0)

Me.chartInd1.Name = "chartInd1"

Me.chartIbes = New SoftwareFX.ChartFX.Chart

Me.panelCharts.Controls.Add(Me.chartInd1)

Me.panelCharts.Controls.Add(Me.chartInd2)

Me.chartInd1.BorderEffect = SoftwareFX.ChartFX.BorderEffect.Raised

Me.chartInd1.Dock = System.Windows.Forms.DockStyle.Fill

Me.chartInd1.Location = New System.Drawing.Point(0, 0)

Me.chartInd1.Name = "chartInd1"

Me.panelCharts.Controls.Add(Me.chartInd1)

Me.panelCharts.Controls.Add(Me.chartInd2)

Me.chartInd1.BorderEffect = SoftwareFX.ChartFX.BorderEffect.Raised

Me.chartInd1.Dock = System.Windows.Forms.DockStyle.Fill

Me.chartInd1.Location = New System.Drawing.Point(0, 0)

Me.chartInd1.Name = "chartInd1"

Me.panelCharts.Controls.Add(Me.chartInd2)

Me.chartInd1.BorderEffect = SoftwareFX.ChartFX.BorderEffect.Raised

Me.chartInd1.Dock = System.Windows.Forms.DockStyle.Fill

Me.chartInd1.Location = New System.Drawing.Point(0, 0)

Me.chartInd1.Name = "chartInd1"

Me.chartInd1.BorderEffect = SoftwareFX.ChartFX.BorderEffect.Raised

Me.chartInd1.Dock = System.Windows.Forms.DockStyle.Fill

Me.chartInd1.Location = New System.Drawing.Point(0, 0)

Me.chartInd1.Name = "chartInd1"

Me.chartInd1.Dock = System.Windows.Forms.DockStyle.Fill

Me.chartInd1.Location = New System.Drawing.Point(0, 0)

Me.chartInd1.Name = "chartInd1"

Me.chartInd1.Location = New System.Drawing.Point(0, 0)

Me.chartInd1.Name = "chartInd1"

Me.chartInd1.Name = "chartInd1"

Me.chartInd1.NSeries = 0

Me.chartInd1.NValues = 0

Me.chartInd1.Size = New System.Drawing.Size(589, 242)

Me.chartInd1.TabIndex = 0

Me.chartInd2.BorderEffect = SoftwareFX.ChartFX.BorderEffect.Raised

Me.chartInd2.Dock = System.Windows.Forms.DockStyle.Bottom

Me.chartInd2.Location = New System.Drawing.Point(0, 242)

Me.chartInd2.Name = "chartInd2"

Me.chartInd1.NSeries = 0

Me.chartInd1.NValues = 0

Me.chartInd1.Size = New System.Drawing.Size(589, 242)

Me.chartInd1.TabIndex = 0

Me.chartInd2.BorderEffect = SoftwareFX.ChartFX.BorderEffect.Raised

Me.chartInd2.Dock = System.Windows.Forms.DockStyle.Bottom

Me.chartInd2.Location = New System.Drawing.Point(0, 242)

Me.chartInd2.Name = "chartInd2"

Me.chartInd1.NValues = 0

Me.chartInd1.Size = New System.Drawing.Size(589, 242)

Me.chartInd1.TabIndex = 0

Me.chartInd2.BorderEffect = SoftwareFX.ChartFX.BorderEffect.Raised

Me.chartInd2.Dock = System.Windows.Forms.DockStyle.Bottom

Me.chartInd2.Location = New System.Drawing.Point(0, 242)

Me.chartInd2.Name = "chartInd2"

Me.chartInd1.Size = New System.Drawing.Size(589, 242)

Me.chartInd1.TabIndex = 0

Me.chartInd2.BorderEffect = SoftwareFX.ChartFX.BorderEffect.Raised

Me.chartInd2.Dock = System.Windows.Forms.DockStyle.Bottom

Me.chartInd2.Location = New System.Drawing.Point(0, 242)

Me.chartInd2.Name = "chartInd2"

Me.chartInd1.TabIndex = 0

Me.chartInd2.BorderEffect = SoftwareFX.ChartFX.BorderEffect.Raised

Me.chartInd2.Dock = System.Windows.Forms.DockStyle.Bottom

Me.chartInd2.Location = New System.Drawing.Point(0, 242)

Me.chartInd2.Name = "chartInd2"

Me.chartInd2.BorderEffect = SoftwareFX.ChartFX.BorderEffect.Raised

Me.chartInd2.Dock = System.Windows.Forms.DockStyle.Bottom

Me.chartInd2.Location = New System.Drawing.Point(0, 242)

Me.chartInd2.Name = "chartInd2"

Me.chartInd2.Dock = System.Windows.Forms.DockStyle.Bottom

Me.chartInd2.Location = New System.Drawing.Point(0, 242)

Me.chartInd2.Name = "chartInd2"

Me.chartInd2.Location = New System.Drawing.Point(0, 242)

Me.chartInd2.Name = "chartInd2"

Me.chartInd2.Name = "chartInd2"

Me.chartInd2.NSeries = 0

Me.chartInd2.NValues = 0

Me.chartInd2.Size = New System.Drawing.Size(589, 256)

Me.chartInd2.TabIndex = 1

Me.tpExIBES.Controls.Add(Me.chartIbes)

Me.chartIbes.AxisX.TextColor = System.Drawing.SystemColors.ControlText

Me.chartIbes.AxisY.TextColor = System.Drawing.SystemColors.ControlText

Me.chartIbes.AxisY2.TextColor = System.Drawing.SystemColors.ControlText

Me.chartIbes.BorderEffect = SoftwareFX.ChartFX.BorderEffect.Raised

Me.chartIbes.Dock = System.Windows.Forms.DockStyle.Fill

Me.chartIbes.Location = New System.Drawing.Point(0, 0)

Me.chartIbes.Name = "chartIbes"

Me.chartInd2.NSeries = 0

Me.chartInd2.NValues = 0

Me.chartInd2.Size = New System.Drawing.Size(589, 256)

Me.chartInd2.TabIndex = 1

Me.tpExIBES.Controls.Add(Me.chartIbes)

Me.chartIbes.AxisX.TextColor = System.Drawing.SystemColors.ControlText

Me.chartIbes.AxisY.TextColor = System.Drawing.SystemColors.ControlText

Me.chartIbes.AxisY2.TextColor = System.Drawing.SystemColors.ControlText

Me.chartIbes.BorderEffect = SoftwareFX.ChartFX.BorderEffect.Raised

Me.chartIbes.Dock = System.Windows.Forms.DockStyle.Fill

Me.chartIbes.Location = New System.Drawing.Point(0, 0)

Me.chartIbes.Name = "chartIbes"

Me.chartInd2.NValues = 0

Me.chartInd2.Size = New System.Drawing.Size(589, 256)

Me.chartInd2.TabIndex = 1

Me.tpExIBES.Controls.Add(Me.chartIbes)

Me.chartIbes.AxisX.TextColor = System.Drawing.SystemColors.ControlText

Me.chartIbes.AxisY.TextColor = System.Drawing.SystemColors.ControlText

Me.chartIbes.AxisY2.TextColor = System.Drawing.SystemColors.ControlText

Me.chartIbes.BorderEffect = SoftwareFX.ChartFX.BorderEffect.Raised

Me.chartIbes.Dock = System.Windows.Forms.DockStyle.Fill

Me.chartIbes.Location = New System.Drawing.Point(0, 0)

Me.chartIbes.Name = "chartIbes"

Me.chartInd2.Size = New System.Drawing.Size(589, 256)

Me.chartInd2.TabIndex = 1

Me.tpExIBES.Controls.Add(Me.chartIbes)

Me.chartIbes.AxisX.TextColor = System.Drawing.SystemColors.ControlText

Me.chartIbes.AxisY.TextColor = System.Drawing.SystemColors.ControlText

Me.chartIbes.AxisY2.TextColor = System.Drawing.SystemColors.ControlText

Me.chartIbes.BorderEffect = SoftwareFX.ChartFX.BorderEffect.Raised

Me.chartIbes.Dock = System.Windows.Forms.DockStyle.Fill

Me.chartIbes.Location = New System.Drawing.Point(0, 0)

Me.chartIbes.Name = "chartIbes"

Me.chartInd2.TabIndex = 1

Me.tpExIBES.Controls.Add(Me.chartIbes)

Me.chartIbes.AxisX.TextColor = System.Drawing.SystemColors.ControlText

Me.chartIbes.AxisY.TextColor = System.Drawing.SystemColors.ControlText

Me.chartIbes.AxisY2.TextColor = System.Drawing.SystemColors.ControlText

Me.chartIbes.BorderEffect = SoftwareFX.ChartFX.BorderEffect.Raised

Me.chartIbes.Dock = System.Windows.Forms.DockStyle.Fill

Me.chartIbes.Location = New System.Drawing.Point(0, 0)

Me.chartIbes.Name = "chartIbes"

Me.tpExIBES.Controls.Add(Me.chartIbes)

Me.chartIbes.AxisX.TextColor = System.Drawing.SystemColors.ControlText

Me.chartIbes.AxisY.TextColor = System.Drawing.SystemColors.ControlText

Me.chartIbes.AxisY2.TextColor = System.Drawing.SystemColors.ControlText

Me.chartIbes.BorderEffect = SoftwareFX.ChartFX.BorderEffect.Raised

Me.chartIbes.Dock = System.Windows.Forms.DockStyle.Fill

Me.chartIbes.Location = New System.Drawing.Point(0, 0)

Me.chartIbes.Name = "chartIbes"

Me.chartIbes.AxisX.TextColor = System.Drawing.SystemColors.ControlText

Me.chartIbes.AxisY.TextColor = System.Drawing.SystemColors.ControlText

Me.chartIbes.AxisY2.TextColor = System.Drawing.SystemColors.ControlText

Me.chartIbes.BorderEffect = SoftwareFX.ChartFX.BorderEffect.Raised

Me.chartIbes.Dock = System.Windows.Forms.DockStyle.Fill

Me.chartIbes.Location = New System.Drawing.Point(0, 0)

Me.chartIbes.Name = "chartIbes"

Me.chartIbes.AxisY.TextColor = System.Drawing.SystemColors.ControlText

Me.chartIbes.AxisY2.TextColor = System.Drawing.SystemColors.ControlText

Me.chartIbes.BorderEffect = SoftwareFX.ChartFX.BorderEffect.Raised

Me.chartIbes.Dock = System.Windows.Forms.DockStyle.Fill

Me.chartIbes.Location = New System.Drawing.Point(0, 0)

Me.chartIbes.Name = "chartIbes"

Me.chartIbes.AxisY2.TextColor = System.Drawing.SystemColors.ControlText

Me.chartIbes.BorderEffect = SoftwareFX.ChartFX.BorderEffect.Raised

Me.chartIbes.Dock = System.Windows.Forms.DockStyle.Fill

Me.chartIbes.Location = New System.Drawing.Point(0, 0)

Me.chartIbes.Name = "chartIbes"

Me.chartIbes.BorderEffect = SoftwareFX.ChartFX.BorderEffect.Raised

Me.chartIbes.Dock = System.Windows.Forms.DockStyle.Fill

Me.chartIbes.Location = New System.Drawing.Point(0, 0)

Me.chartIbes.Name = "chartIbes"

Me.chartIbes.Dock = System.Windows.Forms.DockStyle.Fill

Me.chartIbes.Location = New System.Drawing.Point(0, 0)

Me.chartIbes.Name = "chartIbes"

Me.chartIbes.Location = New System.Drawing.Point(0, 0)

Me.chartIbes.Name = "chartIbes"

Me.chartIbes.Name = "chartIbes"

Me.chartIbes.NSeries = 0

Me.chartIbes.NValues = 0

Me.chartIbes.Size = New System.Drawing.Size(792, 498)

Me.chartIbes.TabIndex = 2

Me.chartIbes.NSeries = 0

Me.chartIbes.NValues = 0

Me.chartIbes.Size = New System.Drawing.Size(792, 498)

Me.chartIbes.TabIndex = 2

Me.chartIbes.NValues = 0

Me.chartIbes.Size = New System.Drawing.Size(792, 498)

Me.chartIbes.TabIndex = 2

Me.chartIbes.Size = New System.Drawing.Size(792, 498)

Me.chartIbes.TabIndex = 2

Me.chartIbes.TabIndex = 2
Link to post
Share on other sites

This is the error message 'Exception of type System.ComponentModel.Design.ExceptionCollection'. The point is that the InitialiseComponent is generated code but when I comment out the ChartFX code, the form loads normally. My colleague has no problems loading it. Very frustrating.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...