save word document in olecontainer

Giganews Newsgroups
Subject: save word document in olecontainer
Posted by:  Rael (rael@nospam.com)
Date: Fri, 13 Jul 2007

Hello,

I am opening a word document in OleContainer with

  OleContainer1.CreateObjectFromFile(FileName, false) ;
  OleContainer1.DoVerb(0);

Now, I want to save modified document to word .doc (not OLEStream). I've
seen some posts to use OleContainer1.SaveAsDocument, but this simply does
not do anything...

Is there perhaps some other setting or something that needs to be in place
for this to work? or other method to achieve this?

Using Delphi7pro winXP home.

Thanks
Rael

Replies