|
Group: Forum Members
Posts: 99,
Visits: 654
|
Thanks for the suggestion. It has not helped. I previously tried an evaluation copy in May and had no problems at all. Worked great. I don't recall needing to delete the license file entries then but I deleted all of them as you suggested today. (I did notice, however, that when I hover over the Nevron tool in the VS2010 toolbox that it continues to show the old version # in the tooltip for it. When I add a tool to a window though the license file updates with the new version #.)
Nothing on the window being loaded uses any resources. All string entries during initialization. Here's the toolbar initialization code:
// // LayoutBar // this.LayoutBar.AllowDelete = false; this.LayoutBar.AllowHide = false; this.LayoutBar.AllowRename = false; this.LayoutBar.AllowReset = false; this.LayoutBar.Commands.AddRange(new Nevron.UI.WinForm.Controls.NCommand[] { this.LBSaveLayout}); this.LayoutBar.DefaultLocation = new System.Drawing.Point(0, 0); this.LayoutBar.Dock = System.Windows.Forms.DockStyle.Bottom; this.LayoutBar.HasPendantCommand = false; this.LayoutBar.Name = "LayoutBar"; this.LayoutBar.PrefferedRowIndex = 0; this.LayoutBar.RowIndex = 0; this.LayoutBar.Text = "Layout"; // // LBSaveLayout // this.LBSaveLayout.Properties.BeginGroup = true; this.LBSaveLayout.Properties.Style = Nevron.UI.WinForm.Controls.CommandStyle.Text; this.LBSaveLayout.Properties.Text = "&Save Layout..."; this.LBSaveLayout.Properties.TooltipHeading = false; this.LBSaveLayout.Properties.TooltipText = "Save this layout"; this.LBSaveLayout.Click += new Nevron.UI.WinForm.Controls.CommandEventHandler(this.LBSaveLayout_Click);
The window being created is basically a MDI window shell with a menu and 2 toolbars. That's it. One docked at the bottom which causes the exception. If I change it to dock at the top it works fine til I need to programmatically dock it elsewhere. Then the exception happens again. (My application supports layouts and I have code which remembers where the toolbars were docked as part of my layout settings. When the user changes layouts I programmatically set the .Dock property to what the layout needs for each toolbar.)
I don't see anyway to work around this.
|