Subject Re: [firebird-support] Delphi + Firebird + BLOB + MSWord document + Stream
Author Alexandre Benson Smith
Em 25/9/2012 12:45, emailx45 escreveu:
> Dear friends,
>
> I would like to know, if its possible, a help of you!
>
> I need to know how to save one file MS Word Doc or Docx in a BLOB and read it by stream, but, dont to use save in disk before!
>
> I search in internet for a long time, but, only found the same procedure...
>
> Can you help me?
>
> Scenary:
> -- Delphi xe2
> -- Firebird 2.5
> -- FIBPLus 7.3
> -- Windows 7
>
> I know how to save the file (doc. jpg, etc...) in a BLOB field (binary type)
> I know how to read (using save in disk and read the file)
>
> But, I need read the BLOB content by STREAM, or be, read portions of file into BLOB
>
> Thanks for you!
>
> Note: If you can not help me, please if you can show me Some site or user who can give me a hint about this problem!
>

So your question has nothing to do with Firebird, you should rephrase it as:
"How can I feed MS Word using a memory stream ?"

You should look at a MSWord forum, but I think it's not possible,
because when you open an attachment in outlook, it saves it in
windows\temp directory and open that file.

see you !