trichview.support
Re: Using HTML Importer |
Author |
Message |
Todd Cary |
Posted: 04/01/2003 20:04:40 Sergey - Just in case nobody has told you this, your support is fantastic! Many thanks! Todd Sergey Tkachenko wrote: > procedure LoadHtmlFromFile(const FileName: String; rvhtml: TRvHtmlImporter); > var Stream: TFileStream; > s: String; > begin > Stream := TFileStream.Create(FileName, fmOpenRead); > try > SetLength(s, Stream.Size); > Stream.ReadBuffer(PChar(s)^, Stream.Size); > finally > Stream.Free; > end; > rvhtml.LoadHtml(s); > end; > > > >>I notice that the HTML Importer does not have a LoadFromFile method. Is >>the best way to load from a file to use a FileStream and then the >>LoadHTML method? >> >>Todd >> > > > |
Powered by ABC Amber Outlook Express Converter