Solved

Rich Edit run time error

Posted on 2002-05-13
3
293 Views
Last Modified: 2010-04-04
I have application that use basic TRichedit component.

One of my client  got the following error

> Exception EReadError in module vcl50.bpl at 0002AF27:
> Error reading RichEdit1.lines.string : RichEdit line insertion error
he use Win2000 Pro / 1GhPIII
what could be the reason ?

thank u
Asi


0
Comment
Question by:asi
3 Comments
 
LVL 8

Accepted Solution

by:
Cesario earned 25 total points
ID: 7007000
Dear asi,

Obviously the IE 5.5 beta has replaced some DLL with some buggy versions. Remove IE 5.5 and put IE 5.0 back on!

There is another problem, also connected to some richedit DLL version (mostly on Win9x): if you load a large file into the control it may refuse to add more lines in code or by typing. This can be solved by setting the controls MaxLength property to a value much higher than the filesize after you loaded the file.

Best Regards

Cesario

0
 
LVL 2

Assisted Solution

by:mikepj
mikepj earned 25 total points
ID: 7007417
I think you can also have trouble with RichEdit if the file you are loading or data you're trying to insert contains invalid control codes which RichEdit doesn't like.
0
 
LVL 1

Expert Comment

by:pnh73
ID: 9005777
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Split between Cesario and mikepj

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Paul (pnh73)
EE Cleanup Volunteer
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now