Solved

Rich Edit run time error

Posted on 2002-05-13
3
320 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Ready to get started with anonymous questions?

It's easy! Check out this step-by-step guide for asking an anonymous question on Experts Exchange.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses
Course of the Month9 days, 13 hours left to enroll

623 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