| View previous topic :: View next topic |
| Author |
Message |
horzsolt Guest
|
Posted: Wed Jan 26, 2005 10:34 am Post subject: ToleContainer.LoadFromstream |
|
|
Hi!
I want to load a simple word document from stream into the the
OleContainer using the the LoadFromStream method. I have strange
errormessage always. Does anyone has a working example?
Thanks: HZS
|
|
| Back to top |
|
 |
Mike Shkolnik Guest
|
Posted: Wed Jan 26, 2005 11:01 am Post subject: Re: ToleContainer.LoadFromstream |
|
|
TOleContainer uses the own format for streaming.
Save your stream to the temporary file and call the
TOleContainer.CreateObjectFromFile method instead
--
With best regards, Mike Shkolnik
EMail: [email]mshkolnik (AT) scalabium (DOT) com[/email]
http://www.scalabium.com
"horzsolt" <Horvath.Zsolt (AT) szilank (DOT) hu> wrote
| Quote: | Hi!
I want to load a simple word document from stream into the the
OleContainer using the the LoadFromStream method. I have strange
errormessage always. Does anyone has a working example?
Thanks: HZS
|
|
|
| Back to top |
|
 |
|