I tried to use the OLE-container-control in VB with Word97. I use the CreateEmbed-method to open a document (or in fact open a document based on an existing document).

I use inplace activation to edit this document. So far so good.

When I try to save this document with the following command:

"ole1.object.SaveAs filename", I get the following message:


Run-time erro '4605':


The SaveAs-method or property is not available because this document is being edited in another application.


Can anyone help me with this?