trichview.com

trichview.support




Re: How to detect document type


Return to index


Author

Message

Jeff Carpenter

Posted: 05/07/2004 4:40:14


On Thu, 6 May 2004 15:50:22 -0700, Jeff Carpenter wrote:


> I am loading a trichviewedit from a memory stream using LoadRVFFromStream.

> The memory stream in turn comes from a database. The database data may be

> in RV format or plain text.

> If the data is in RV format it will load fine, but if the data is in plain

> text, nothing is displayed.

> The trichviewDBedit when connected directly to the database field does not

> exhibit this problem but essentially it is doing the same thing as

> LoadRVFFromStream I would imagine. (I need to use trichviewedit)

>

> Does anybody know how trichviewDBedit is able to do this but trichviewedit

> is not?

>

> Thanks,

>

> Jeff



I guess I gave myself a hint in my question.. I lookied at the source for

trichviewDBedit and found the solution, following the same procedures as

tdbrichview to check for the database filetype.





Powered by ABC Amber Outlook Express Converter