Format On Error
Posted: Sun Oct 29, 2006 6:16 pm
Sergey,
I store my RVF documents in database BLOB fields. They are loaded into TRichViewEdit components using RVFLoadFromStream followed by Format.
I have had a couple of instances where apparently corrupted RVF's are loaded and when Format is called I get endless "Index Out of Bounds" errors.
Is there any way only one error can be generated and I can abort the loading process? Currently, the application continues to return these errors and it has to be shut down. The try...except clause does not seem to help.
I store my RVF documents in database BLOB fields. They are loaded into TRichViewEdit components using RVFLoadFromStream followed by Format.
I have had a couple of instances where apparently corrupted RVF's are loaded and when Format is called I get endless "Index Out of Bounds" errors.
Is there any way only one error can be generated and I can abort the loading process? Currently, the application continues to return these errors and it has to be shut down. The try...except clause does not seem to help.