we can write the below code to embed the MS Word in a Delphi application. OleContainer1.CreateObject('Word.Document', False); OleContainer1.DoVerb(0);
I am trying to write a code to use WPS document in a Delphi application. For Ex.
OleContainer1.CreateObject('WPS.Document', False); OleContainer1.DoVerb(0);
But it is not working. can you please help how to create object for WPS in Delphi OLE container?
Using Delphi Berlin and Delphi 2010
OleContainer1.CreateObjectFromFile(OpenDialog1.FileName, false);
https://docwiki.embarcadero.com/CodeExamples/Sydney/en/TOleContainer_(Delphi)