trichview.support
saveHTMLtostream question... |
Author |
Message |
Bryan Tabuteau |
Posted: 07/27/2004 3:01:05 Hi, I'm trying to use the saveHTMLToStream function to get the content of a TRichViewEdit out in HTML format as a string, so I can insert this into a database. I have tried using a TMemoryStream and a TStringStream to do this, but have been having no luck. I tried using the saveHTML function, and it generates a file fine, but just gives me nothing when I try and use the stream function. Does anyone have an example of this function being used? The function returns true, but the stream appears to be empty. .size of the stream returns 0 and I am setting .position to 0 before I do anything with it. I am a registered user, using delphi 6. Any ideas or examples using saveHTMLtostream would be appreciated... |
Powered by ABC Amber Outlook Express Converter