Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 357
  • Last Modified:

Rich Edit run time error

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
asi
Asked:
asi
2 Solutions
 
CesarioCommented:
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
 
mikepjCommented:
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
 
pnh73Commented:
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now