trichview.com

trichview.support




Re: DeleteUnusedStyles


Return to index


Author

Message

Marc

Posted: 01/14/2005 16:37:40


Thanks Alan,


I use a single RichViewEdit (not a DBRichViewEdit) on a form and save/load

to my database. The save/load to stream routines work fine every time, as

does loading and displaying the document.


Before running my save routine I run DeleteUnusedStyles(true,true,true),

it is within this call that the list out of bounds exception is generated.


I suppose the question is: under what circustances will DeleteUnusedStyles

generate this exception? My application can move through the database, loading

and saving RVE's 1000's of times without any exception, and then suddenly

one will be generated.


I can capture the exception in a try..except block so it does not affect

the running of my app. But any pointers to the possible cause would be really

appreciated.





Powered by ABC Amber Outlook Express Converter