I downloaded WL 6.8.10, deinstalled the old version, deinstalled .NET 4. Then I installed .NET 4.5.2 (before I tried also with 4.5.0) and installed WL 6.8.10.
In every situation if I want to open a strategy (regerdless which one, some of my own, or the downloaded ones) I get an excpetion:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at QWhale.Editor.Dialogs.ColorThemes.get_ActiveTheme()
at QWhale.Editor.Dialogs.SyntaxSettings.get_Font()
at QWhale.Editor.Dialogs.SyntaxSettings.ApplyToEdit(ISyntaxEdit edit, Boolean withStyles)
at d.e()
at d..ctor(SyntaxEdit A_0, CsParser A_1)
at WealthLabPro.Editor..ctor(ChartForm chartWindow)
at WealthLabPro.ChartForm.set_Strategy(Strategy value)
at WealthLabPro.MainForm.OpenStrategyWindow(Strategy s, Boolean executeOnSelectedSymbol, Boolean useAdvancedSettings)
at WealthLabPro.MainForm.OpenStrategyWindow(Strategy s, Boolean executeOnSelectedSymbol)
at WealthLabPro.MainForm.OpenStrategyWindow(Strategy s)
at WealthLabPro.MainForm.OpenStrategyExplorer()
at WealthLabPro.MainForm.bz(Object A_0, EventArgs A_1)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
I guess it will load the .NET 4.0 libraries but I have completely deinstalled .NET 4.0.
Do I need to delete some aditional folders?
I am using Windows Server 2008 RC2 with 64Bit.
Size:
Color:
Actually, the program does not crash (I corrected the topic title). It is a handled exception. A crash is when a program is closed irrecoverably. On the contrast, a handled exception allows the program to function normally after OKing the exception message. Please don't try chaotic moves like uninstallation of .NET framework - you may even break something.
This particular error is well known and has 3 documented solutions. It is caused by making customizations to the Editor (e.g. changing colors) and unfortunately, may appear after upgrading. To fix the issue, please close WLD, install .NET 4.5 back and proceed to applying the 3 workarounds until succeeded:
Errors | Strategy >
Strategy editor does not functionP.S. I think there's no need to reinstall .NET4 as 4.5 should include it.
Size:
Color:
Thanks for the solution hint. It works for me, after renaming EditorsSettings.xml.
Size:
Color: