Posted 20 years ago
by John Mancine

I am still trying to debug this, but I came across a very frustrating bug. (I have full licensed version)
The following code was generated by the designer, which leads to multiple 'tabs' on a tool container - and if you select one in the designer you promptly get a crash which forces you to reboot visual studio:This problem seems to be a symptom of something bigger, potentially 'license' related issue. The reason I say this, is because when I compile my Form - it immediately is changed again if I use Actipro controls (ie. the '*' sign appears by it again, as if it needs to be saved again). If I close the designer file after the '*' shows up - it tells me that Properties/Licenses.licx has changed and would I like to save it. What is going on behind the scenes with this licensing stuff that is causing all this headache?
This is not very consistant right now, but if I remove the OwnerDrawnMainMenu from my Form - the "last second change" bug seems to go away. But this quickly cascades into a huge mess -- all of which seems to begin with the "last second change" to my Form by the Actipro controls.
Bottom line: What is executing on the Acipro side that causes it to continually alter my Form immediately after I compile? As soon as I see this start to happen, I am in for a world of hurt.
I would be more than happy to discuss this over the phone, as it may be easier to explain all the strange ins and outs of this nasty bug.
I am using Visual Studio 2005 beta2 / Windows XP.
Thank you,
John
The following code was generated by the designer, which leads to multiple 'tabs' on a tool container - and if you select one in the designer you promptly get a crash which forces you to reboot visual studio:
//
// toolWindowContainer2
//
this.toolWindowContainer2.Dock = System.Windows.Forms.DockStyle.Left;
this.toolWindowContainer2.DockManager = this.dockManager;
this.toolWindowContainer2.Location = new System.Drawing.Point(0, 0);
this.toolWindowContainer2.Name = "toolWindowContainer2";
this.toolWindowContainer2.Size = new System.Drawing.Size(200, 327);
this.toolWindowContainer2.TabIndex = 5;
toolWindowContainer2.Controls.Add(toolWindow1);
toolWindowContainer2.Controls.Add(toolWindow2);
toolWindowContainer2.Controls.Add(toolWindow3);
toolWindowContainer2.Controls.Add(toolWindow1); // DUPE!
toolWindowContainer2.Controls.Add(toolWindow2); // DUPE!
toolWindowContainer2.Controls.Add(toolWindow3); // DUPE!
This is not very consistant right now, but if I remove the OwnerDrawnMainMenu from my Form - the "last second change" bug seems to go away. But this quickly cascades into a huge mess -- all of which seems to begin with the "last second change" to my Form by the Actipro controls.
Bottom line: What is executing on the Acipro side that causes it to continually alter my Form immediately after I compile? As soon as I see this start to happen, I am in for a world of hurt.
I would be more than happy to discuss this over the phone, as it may be easier to explain all the strange ins and outs of this nasty bug.
I am using Visual Studio 2005 beta2 / Windows XP.
Thank you,
John