vb@rchiv
VB Classic
VB.NET
ADO.NET
VBA
C#
Brandneu! sevEingabe v3.0 - Das Eingabecontrol der Superlative!  
 vb@rchiv Quick-Search: Suche startenErweiterte Suche starten   Impressum  | Datenschutz  | vb@rchiv CD Vol.6  | Shop Copyright ©2000-2025
 
zurück

 Sie sind aktuell nicht angemeldet.Funktionen: Einloggen  |  Neu registrieren  |  Suchen

VB.NET - Fortgeschrittene
Exception "Index liegt außerhalb des gültigen Bereichs"  
Autor: xellon
Datum: 08.10.03 13:21

Hi!
Ich arbeite mit VS.Net2003 und kriege folgende fehlermeldung (exception):

Der Index liegt außerhalb des gültigen Bereichs. Der Index darf keine negative _
  Zahl und muss kleiner als die Auflistungsgröße sein.
Parametername: index
   at System.Collections.ArrayList.get_Item(Int32 index)
   at C1.Win.C1TrueDBGrid.BaseGrid.ViewRowList.get_Item(Int32 index)
   at C1.Win.C1TrueDBGrid.BaseGrid.View.83(Int32 0ZQ, Int32 0ZR)
   at C1.Win.C1TrueDBGrid.BaseGrid.View.F9(Int32 178, Int32 179, Int32 17A)
   at C1.Win.C1TrueDBGrid.BaseGrid.View.FA()
   at C1.Win.C1TrueDBGrid.BaseGrid.View.7S(PaintEventArgs 0ZE)
   at C1.Win.C1TrueDBGrid.BaseGrid.View.7T(PaintEventArgs 0ZF)
   at C1.Win.C1TrueDBGrid.BaseGrid.View.OnPaint(PaintEventArgs e)
   at C1.Win.C1TrueDBGrid.Split.OnPaint(PaintEventArgs e)
   at C1.Win.C1TrueDBGrid.BaseGrid.N.L1(PaintEventArgs 1FH)
   at C1.Win.C1TrueDBGrid.BaseGrid.Frame.OnPaint(PaintEventArgs e)
   at C1.Win.C1TrueDBGrid.C1TrueDBGrid.OnPaint(PaintEventArgs e)
   at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, _
     Int16 layer, Boolean disposeEventArgs)
   at System.Windows.Forms.Control.WmPaint(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at C1.Win.C1TrueDBGrid.C1TrueDBGrid.WndProc(Message& m)
   at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 _
     msg, IntPtr wparam, IntPtr lparam)
   at Infragistics.Win.UltraWinToolbars.NativeWindowMethods.RedrawWindow(IntPtr _
   hWnd, IntPtr rectUpdate, IntPtr hrgnUpdate, UInt32 flags)
   at Infragistics.Win.UltraWinToolbars.NativeWindowMethods.RedrawWindowApi( _
   IntPtr hWnd, IntPtr rectUpdate, IntPtr hrgnUpdate, UInt32 flags)
   at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.SetRedraw(Boolean _
   setRedrawOn)
   at _
   Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.InternalSetActiveMdiC_
   hildManager(UltraToolbarsManager newActiveMdiChildManager, Boolean _
   calledFromMdiChildActivate)
   at _
   Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.OnFormMdiChildActivat_
   ed(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnMdiChildActivate(EventArgs e)
   at System.Windows.Forms.Form.ActivateMdiChild(Form form)
   at System.Windows.Forms.Form.WmMdiActivate(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 _
     msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.UnsafeNativeMethods.DefMDIChildProc(IntPtr hWnd, _
   Int32 msg, IntPtr wParam, IntPtr lParam)
   at System.Windows.Forms.Form.DefWndProc(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 _
     msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.UnsafeNativeMethods.IntCreateWindowEx(Int32 _
   dwExStyle, String lpszClassName, String lpszWindowName, Int32 style, Int32 _
   x, Int32 y, Int32 width, Int32 height, HandleRef hWndParent, HandleRef _
   hMenu, HandleRef hInst, Object pvParam)
   at System.Windows.Forms.UnsafeNativeMethods.CreateWindowEx(Int32 dwExStyle, _
   String lpszClassName, String lpszWindowName, Int32 style, Int32 x, Int32 y, _
   Int32 width, Int32 height, HandleRef hWndParent, HandleRef hMenu, HandleRef _
   hInst, Object pvParam)
   at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
   at System.Windows.Forms.Control.CreateHandle()
   at System.Windows.Forms.Form.CreateHandle()
   at System.Windows.Forms.Control.get_Handle()
   at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
   at System.Windows.Forms.Control.set_Visible(Boolean value)
   at System.Windows.Forms.Control.Show()
   at PersonaNet2003.frmMDI.UltraToolbarsManager1_ToolClick(Object sender, _
     ToolClickEventArgs e) in _
     C:\Projekte\PersonaNet2003\PersonaNet2003\frmMDI.vb:line 339
Mein projekt ist eine MDI-Anwendung und die exception tritt auf wenn ich einen
childformular mit .Show() anzeigen will.
Die exceptions tretten auf in den quelltext was von dem designer geschrieben wird und
es hatt was mit der "ComponentOne C1TrueDBGrid" zu tun, weil wenn ich die
datasource des grids weg lasse dann tritt die exception nicht mehr auf.

kann mir jemand helfen?

P.S. benutze Access als datenbank



Ich habe nichts dagegen zu sterben.
Ich will nur nicht dabei sein, wenn's passiert.

[Woody Allen]
alle Nachrichten anzeigenGesamtübersicht  |  Zum Thema  |  Suchen

 ThemaViews  AutorDatum
Exception "Index liegt außerhalb des gültigen Bereichs&...1.247xellon08.10.03 13:21
Re: Exception "Index liegt außerhalb des gültigen Berei...695xellon08.10.03 14:10

Sie sind nicht angemeldet!
Um auf diesen Beitrag zu antworten oder neue Beiträge schreiben zu können, müssen Sie sich zunächst anmelden.

Einloggen  |  Neu registrieren

Funktionen:  Zum Thema  |  GesamtübersichtSuchen 

nach obenzurück
 
   

Copyright ©2000-2025 vb@rchiv Dieter Otter
Alle Rechte vorbehalten.
Microsoft, Windows und Visual Basic sind entweder eingetragene Marken oder Marken der Microsoft Corporation in den USA und/oder anderen Ländern. Weitere auf dieser Homepage aufgeführten Produkt- und Firmennamen können geschützte Marken ihrer jeweiligen Inhaber sein.

Diese Seiten wurden optimiert für eine Bildschirmauflösung von mind. 1280x1024 Pixel