User (Legacy) Posted January 19, 2007 Report Share Posted January 19, 2007 Hi There Using VB.NET2003 & ChartFX For .Net 6.2 I Get and Error When Loading Saved Options. Saving works great, but when loading or restoring this error keeps on coming up. Index out of bounds... Please help with proper saving loading and restoring sample in VB.Net. More info on personalized charts would be also be more helpful. The HELP and API doesn't say much. Thanx Gerhard See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.IndexOutOfRangeException: Index was outside the bounds of the array. at SoftwareFX.ChartFX.Internet.Client.DataArray.ReOrder(Int32 series, Int32 points, Boolean allocHidden) at SoftwareFX.ChartFX.Financial.Client.BasicDataArray.84() at SoftwareFX.ChartFX.Financial.Client.ChartData.7D(IChartData 0KM, SourceDataMeaning 0KN, CompressionSettings 0KO, IntraDaySettings 0KP, CultureInfo 0KQ) at SoftwareFX.ChartFX.Financial.Client.Financial.9O(IContainerX 0QD) at SoftwareFX.ChartFX.Internet.Client.ExtensionManager.OU(ChartCore 2QK) at SoftwareFX.ChartFX.Internet.Client.ChartCore.77(Object 1KY) at SoftwareFX.ChartFX.Internet.Client.ChartCore.7X(IPersistBase 1M2) at SoftwareFX.ChartFX.Internet.Client.ChartCore.Import(FileFormat format, Stream stream) at SoftwareFX.ChartFX.Internet.Client.0Q.DM(Chart 1X1, Boolean 1X2, Boolean 1X3) at SoftwareFX.ChartFX.Internet.Client.0Q.DD(Object 1WN, CommandsEventArgs 1WO) at SoftwareFX.ChartFX.Internet.Base.CommandEventHandler.Invoke(Object sender, CommandsEventArgs e) at SoftwareFX.ChartFX.Internet.CommandBar.S(Int32 7C, Int32 7D, Object 7E) at SoftwareFX.ChartFX.Internet.CommandBar.K(Object 6M, Int32 6N, ICommand 6O, Boolean 6P, Object 6Q) at SoftwareFX.ChartFX.Internet.Client.00.OnClick(EventArgs e) at System.Windows.Forms.MenuItemData.Execute() at System.Windows.Forms.Command.Invoke() at System.Windows.Forms.Control.WmCommand(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll ---------------------------------------- System Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll ---------------------------------------- System.Drawing Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll ---------------------------------------- RegexAssembly6_0 Assembly Version: 0.0.0.0 Win32 Version: n/a CodeBase: ---------------------------------------- ChartFX.MainClient Assembly Version: 6.2.1734.27275 Win32 Version: n/a CodeBase: http://localhost/chartfx62/download/ChartFX.MainClient.DLL ---------------------------------------- System.Windows.Forms Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll ---------------------------------------- Microsoft.mshtml Assembly Version: 7.0.3300.0 Win32 Version: 7.0.3300.0 CodeBase: file:///c:/windows/assembly/gac/microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/microsoft.mshtml.dll ---------------------------------------- Accessibility Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll ---------------------------------------- ChartFX.Internet.Client Assembly Version: 6.2.2411.26938 Win32 Version: n/a CodeBase: http://localhost/chartfx62/download/ChartFX.Internet.Client.DLL ---------------------------------------- ChartFX.Internet.Base Assembly Version: 6.2.2411.26887 Win32 Version: n/a CodeBase: http://localhost/chartfx62/download/ChartFX.Internet.Base.DLL ---------------------------------------- System.Xml Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll ---------------------------------------- ChartFX.Financial.Client Assembly Version: 6.2.2411.27031 Win32 Version: n/a CodeBase: http://localhost/chartfx62/download/ChartFX.Financial.Client.DLL ---------------------------------------- ChartFX.CategBar.Client Assembly Version: 6.2.2411.26915 Win32 Version: n/a CodeBase: http://localhost/chartfx62/download/ChartFX.CategBar.Client.DLL ---------------------------------------- ChartFX.Internet.Annotation Assembly Version: 6.2.2411.26906 Win32 Version: n/a CodeBase: http://localhost/chartfx62/download/ChartFX.Internet.Annotation.DLL ---------------------------------------- ************** JIT Debugging ************** To enable just in time (JIT) debugging, the config file for this application or machine (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the machine rather than being handled by this dialog. Link to comment Share on other sites More sharing options...
Software FX Posted January 26, 2007 Report Share Posted January 26, 2007 We are unable to reproduce this problem. Please attach a sample application or code snippet that reproduces the problem. -- Francisco Padron www.chartfx.com Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.