trichview.com

trichview.support




Re: SaveHTML sometimes fails


Return to index


Author

Message

Sergey Tkachenko

Posted: 01/17/2003 23:24:38


Hi,


May be other application blocks access to this HTML file when your are

saving?


PS: its better to remove dot from '.img'



> Hi

>

> I'm using the following code to export HTML from TRichViewEdit - the

> contents of TRichView contains some text with bold,italic and centered

> text.

>

> var options:TRVsaveoptions;

> begin

>   options:=options + [rvsoForceNonTextCSS];

>     RichViewEdit1.SaveHTML('c:\temp.html','test','.img',options);

> end;

>

> The problem i'm getting is that sometimes my 'c:\temp.html' file is

> empty?

> It doesn't always save the HTML into the file (although sometimes is

> does).

>

> Any advice appreciated as this is causing me great problems

>

> TIA

>

> Iain





Powered by ABC Amber Outlook Express Converter