RichView 1.9.0.1 - Client Side Data Causing program to die

General TRichView support forum. Please post your questions here
Post Reply
worksmart
Posts: 16
Joined: Thu Jul 06, 2006 8:27 am

RichView 1.9.0.1 - Client Side Data Causing program to die

Post by worksmart »

Hi

We have an app that uses 1.9.0.1 . The contents of a control is set in an admin program that stores the data as RVF in a database. It is then displayed in the main application. This has worked fine for a while.

Currently a client has a problem that they have pasted a small amout of text from word in the control using the admin program that generated a large stream of data. Displaying the two lines of text that created a 1.6M stream. When displaying it loads ok, but the rest of the program does not run well at all and you no longer can cut and paste from the loaded control. I have tried to recreate the problem but can'nt and currently can not gethold of the problem database. Even if we could I dout if i would be allowed to send you the file.

Have you heard of this before / any ideas

Mike
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

I think it's because of a huge amount of unused styles.
If you use DBRichViewEdit, set AutoDeleteUnusedStyles = True.
Or load document, call DeleteUnusedStyles(True, True, True) and save it again.
And yes, you can send me files by email if necessary.
Post Reply