Hi,
Thanks for the reply.
Here some answers:
The error has appeared after I updated MS Windows - I haven't changed the
program at all as far as I know.
A more detailed explainations of the error is:
I'm getting a Microsoft .NET Framework error :
"Index was outside the bounds of the array"
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 System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
at System.Windows.Forms.ContainerControl.WndProc(Mess age& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage (Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(M essage& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)
Does the error look like it comes from the VB interface ? Do I need to try
reinstalling any VB parts ?
Does this make any sense to you?
Thanks for help,
Andrea
"Morten Wennevik" wrote:
Hi Andrea,
Have you made any changes at all to the program?
Does it now crash where previously it ran fine?
Where/when exactly does it crash, when you load the program?
The error is simple enough, something is reading from an array at an index outside the bounds of that array. Typically this can be a regular array or list in the code or collection from Controls like ListBox/ListView in the user interface.
It would help if you can provide as much detail as you can.
On Mon, 19 Sep 2005 09:01:03 +0200, Andrea <An****@discussions.microsoft.com> wrote:
Hi there,
I have a problem. I am running a program that used to work when
suddenly...it stop working.
I got this message:
"Index was outside the bounds of the array"
Is there anyone who knows how I can solve this problem?
Thanks
--
Happy coding!
Morten Wennevik [C# MVP]