Jump to content
Software FX Community

Exception of type System.ComponentModel.Design.ExceptionCollection


chrisnolan

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 comment
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 comment
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 comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...