# Toad 5.0.0.250 Find and replace

**URL:** <https://forums.toadworld.com/t/toad-5-0-0-250-find-and-replace/11655>\
**Category:** Toad for SQL Server\
**Created:** [April 27, 2010, 9:03am UTC](https://forums.toadworld.com/t/toad-5-0-0-250-find-and-replace/11655 "2010-04-27T09:03:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![eric\_hackett\_156](https://avatars.discourse-cdn.com/v4/letter/e/6bbea6/32.png) [@eric\_hackett\_156](https://forums.toadworld.com/u/eric_hackett_156)\
**Post date:** [April 27, 2010, 9:03am UTC](https://forums.toadworld.com/t/toad-5-0-0-250-find-and-replace/11655/1 "2010-04-27T09:03:58Z")

</div>

I have somehow managed to make this version of Toad completely non-functional. I had an error popup while doing a find and replace. Now I can not save files or close Toad without using Task Manager. I have tried a re-install but I still get this as soon as I do a find and replace. I also cannot send the suport bundle from Toad

System.IndexOutOfRangeException  
Index was outside the bounds of the array.  
Stack Trace:  
at a5.b(Int32 A\_0)  
at g.a(Int32 A\_0)  
at ActiproSoftware.SyntaxEditor.DisplayLineCollection.e(Int32 A\_0)  
at ActiproSoftware.SyntaxEditor.EditorView.a(Boolean A\_0, Boolean A\_1)  
at ActiproSoftware.SyntaxEditor.EditorView.ArrangeCore()  
at ActiproSoftware.WinUICore.UIElement.Arrange(Rectangle newBounds)  
at ActiproSoftware.SyntaxEditor.SyntaxEditor.ArrangeCore()  
at ActiproSoftware.WinUICore.UIControl.Arrange(Rectangle newBounds)  
at ActiproSoftware.WinUICore.UIControl.UpdateLayout()  
at ActiproSoftware.WinUICore.UIControl.Invalidate(InvalidationLevels levels, InvalidationTypes types)  
at ActiproSoftware.WinUICore.UIControl.OnLayout(LayoutEventArgs e)  
at System.Windows.Forms.Control.PerformLayout(LayoutEventArgs args)  
at System.Windows.Forms.Control.System.Windows.Forms.Layout.IArrangedElement.PerformLayout(IArrangedElement affectedElement, String affectedProperty)  
at System.Windows.Forms.Layout.LayoutTransaction.DoLayout(IArrangedElement elementToLayout, IArrangedElement elementCausingLayout, String property)  
at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)  
at ActiproSoftware.WinUICore.UIControl.OnVisibleChanged(EventArgs e)  
at ActiproSoftware.SyntaxEditor.SyntaxEditor.OnVisibleChanged(EventArgs e)  
at System.Windows.Forms.Control.OnParentVisibleChanged(EventArgs e)  
at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)  
at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)  
at System.Windows.Forms.Control.OnParentVisibleChanged(EventArgs e)  
at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)  
at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)  
at ActiproSoftware.WinUICore.UIContainerControl.OnVisibleChanged(EventArgs e)  
at System.Windows.Forms.Control.OnParentVisibleChanged(EventArgs e)  
at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)  
at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)  
at ActiproSoftware.WinUICore.UIControl.OnVisibleChanged(EventArgs e)  
at System.Windows.Forms.Control.SetVisibleCore(Boolean value)  
at System.Windows.Forms.Control.set\_Visible(Boolean value)  
at ActiproSoftware.UIStudio.Dock.DockManager.ac()  
at ActiproSoftware.UIStudio.Dock.DockManager.a(TabbedMdiWindow[] A\_0, Boolean A\_1, TabbedMdiWindowCloseReason A\_2)  
at ActiproSoftware.UIStudio.Dock.DockManager.CloseAllActiveToolWindows(Boolean force, TabbedMdiWindowCloseReason reason)  
at ActiproSoftware.UIStudio.Dock.DockManager.CloseAllActiveToolWindows(Boolean force)  
at ActiproSoftware.UIStudio.Dock.DockManager.Dispose(Boolean disposing)  
at System.ComponentModel.Component.Dispose()  
at System.ComponentModel.Container.Dispose(Boolean disposing)  
at System.ComponentModel.Container.Dispose()  
at Quest.Toad.Editor.EditorForm.Dispose(Boolean disposing)  
at System.ComponentModel.Component.Dispose()  
at System.Windows.Forms.Control.Dispose(Boolean disposing)  
at System.Windows.Forms.ContainerControl.Dispose(Boolean disposing)  
at ActiproSoftware.WinUICore.UIContainerControl.Dispose(Boolean disposing)  
at ActiproSoftware.UIStudio.Dock.DocumentWindow.Dispose(Boolean disposing)  
at System.ComponentModel.Component.Dispose()  
at ActiproSoftware.UIStudio.Dock.DockManager.a(TabbedMdiWindow[] A\_0, Boolean A\_1, TabbedMdiWindowCloseReason A\_2)  
at ActiproSoftware.UIStudio.Dock.DockManager.a(TabStripButton A\_0)  
at ActiproSoftware.UIStudio.Dock.TabbedMdiContainer.a(Object A\_0, CommandEventArgs A\_1)  
at ActiproSoftware.UIStudio.TabStrip.TabStrip.OnCommand(CommandEventArgs e)  
at ActiproSoftware.UIStudio.TabStrip.TabStrip.RaiseCommand(Command command)  
at ActiproSoftware.UIStudio.TabStrip.TabStripButton.OnMouseUp(MouseEventArgs e)  
at ActiproSoftware.WinUICore.UIElement.ActiproSoftware.WinUICore.IInputElement.RaiseMouseUpEvent(MouseEventArgs e)  
at ActiproSoftware.WinUICore.UIControl.OnMouseUp(MouseEventArgs e)  
at ActiproSoftware.UIStudio.TabStrip.TabStrip.OnMouseUp(MouseEventArgs e)  
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)  
at System.Windows.Forms.Control.WndProc(Message& m)  
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)  
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)  
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)  
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Thanks,

Eric
