chrisnolan 0 Posted March 7, 2007 Report Share Posted March 7, 2007 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. Quote Link to post Share on other sites
Frank 0 Posted March 8, 2007 Report Share Posted March 8, 2007 Please attach the code that you are commenting out. Quote Link to post Share on other sites
chrisnolan 0 Posted March 9, 2007 Author Report Share Posted March 9, 2007 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.ChartMe.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.ChartMe.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.ChartMe.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.RaisedMe.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.FillMe.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 = 0Me.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 = 0Me.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 = 0Me.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.RaisedMe.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.BottomMe.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 = 0Me.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 = 0Me.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 = 1Me.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.ControlTextMe.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.ControlTextMe.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.ControlTextMe.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.RaisedMe.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.FillMe.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 = 0Me.chartIbes.NValues = 0 Me.chartIbes.Size = New System.Drawing.Size(792, 498) Me.chartIbes.TabIndex = 2 Me.chartIbes.NValues = 0Me.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 Quote Link to post Share on other sites
Frank 0 Posted March 16, 2007 Report Share Posted March 16, 2007 The code looks ok. But it is quite long so, there may be some problems I don't see. Any specific error message? Quote Link to post Share on other sites
chrisnolan 0 Posted March 19, 2007 Author Report Share Posted March 19, 2007 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. Quote Link to post Share on other sites
Frank 0 Posted March 19, 2007 Report Share Posted March 19, 2007 Unfortunately this information is not enough for me to determine what the problem is. Please attach a sample project that reproduces the problem so that I can open it here and see exactly what's going on. Quote Link to post Share on other sites
Recommended Posts
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.