用COM控制被嵌入到OleContainer中的WORD。WordApplication1为server面板上的TWordApplication.至于WordApplication如何用就不用说了吧。
OleContainer1.CreateObjectFromFile ('xxxxxxxxxxxxxx.doc', False);
OleContainer1.DoVerb (ovInPlaceActivate);
WordApplication1.ConnectTo(IDISPATCH (OleContainer1.OleObject.Application) as _Application);