We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Problem with binary files

Thread ID:





47615 Aug 9,2006 09:24 AM UTC Aug 18,2006 04:11 AM UTC WinForms 2
Tags: EditControl
Asked On August 9, 2006 09:24 AM UTC


When I open a binary file(*.zip) with a size over 1 Mb in the EditControl, the control loads the file extreamly slow and scrolling is also very slow.

When I select text an exception occures:
Additional information: Index was out of range. Must be non-negative and less than the size of the collection. ParamName: startIndex
bei System.String.ToCharArray(Int32 startIndex, Int32 length)\r\n bei Syncfusion.Windows.Forms.Edit.Implementation.IO.StreamsWrapper.GetParsePoint(Int32 line, Int32 column, IParsePoint& leftNearest, IParsePoint& rightNearest, Boolean create)\r\n bei Syncfusion.Windows.Forms.Edit.Implementation.IO.StreamsWrapper.GetParsePoint(Int32 Line, Int32 Column, Boolean Create)\r\n bei Syncfusion.Windows.Forms.Edit.Implementation.Parser.LexemParser.GetParsePoint(Int32 iLine, Int32 iColumn)\r\n bei Syncfusion.Windows.Forms.Edit.Implementation.Parser.LexemParser.GetCoordinatePoint(Int32 iLine, Int32 iColumn, Boolean bTrackPosition)\r\n bei Syncfusion.Windows.Forms.Edit.Implementation.Parser.LexemParser.GetCoordinatePoint(Int32 iLine, Int32 iColumn)\r\n bei Syncfusion.Windows.Forms.Edit.Implementation.Parser.LexemParser.GetNearestParsePointLeft(Int32 iLine, Int32 iColumn)\r\n bei Syncfusion.Windows.Forms.Edit.StreamEditControl.GetNearestParsePointLeft(Int32 iLine, Int32 iColumn)\r\n bei Syncfusion.Windows.Forms.Edit.StreamEditControl.StartSelection()\r\n bei Syncfusion.Windows.Forms.Edit.StreamEditControl.OnMouseDown(MouseEventArgs e)\r\n bei System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)\r\n bei System.Windows.Forms.Control.WndProc(Message& m)\r\n bei Syncfusion.Windows.Forms.Edit.ScrollControl.WndProc(Message& msg)\r\n bei Syncfusion.Windows.Forms.Edit.IntelliScrollableControl.WndProc(Message& m)\r\n bei Syncfusion.Windows.Forms.Edit.StreamEditControl.WndProc(Message& m)\r\n bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)\r\n bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)\r\n bei System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)\r\n bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)\r\n bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)\r\n bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)\r\n bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)\r\n bei System.Windows.Forms.Application.Run(ApplicationContext context)\r\n bei Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()\r\n bei Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()\r\n bei Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)\r\n bei SyncfusionEditTest.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:Zeile 81."

I use Syncfusion Essential Studio A text file works fine. What can I do to increase Speed of the EditControl when binary files are displayed?

Greets, Michael

Administrator [Syncfusion]
Replied On August 10, 2006 02:42 PM UTC

Hi Michael,

Our apologies for the delayed response. These issues have been fixed internally. However when I was testing for these issues using the latest assemblies I was able to see a problem. I have notified the development team regarding the new problem and have logged a bug report Defect #2526 on this, and will try our very best to address the same at the earliest. You could track the progress of this bug fix at this link below :

Defect #2526 - System.Exception is thrown when binary file is loaded in EditControl. 

Thanks for your patience.


Replied On August 18, 2006 04:11 AM UTC

Hi Manohari.R,

Thanks for your help!



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon