我们可以编写以下代码将MS嵌入到Delphi应用程序中。OleContainer1.CreateObject('Word.Document',False);
我试图在Delphi应用程序中编写使用WPS文档的代码。为了快递。
OleContainer1.CreateObject('WPS.Document',False);OleContainer1.DoVerb(0);
但这是行不通的。能否帮助您在Delphi容器中创建WPS对象?
使用Delphi柏林和Delphi 2010
发布于 2022-10-02 13:21:01
OleContainer1.CreateObjectFromFile(OpenDialog1.FileName, false);https://docwiki.embarcadero.com/CodeExamples/Sydney/en/TOleContainer_(Delphi)
https://stackoverflow.com/questions/73134923
复制相似问题