你动态创建一个Ole容器,然后在动态建立一个Word.document对象
要Destory Word.document时直接把容器Destroy掉.
比如
OleContainer := TOleContainer.Create(Application);
OleContainer.parent := MainForm ;
OleContainer.CreateObject("word.document",false)
OleContainer.Destroy
你试试看
要Destory Word.document时直接把容器Destroy掉.
比如
OleContainer := TOleContainer.Create(Application);
OleContainer.parent := MainForm ;
OleContainer.CreateObject("word.document",false)
OleContainer.Destroy
你试试看
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货