Where can I find Delphi Word.Application OLE interface manual?

6.2k Views Asked by At

All I could find is a simple example and a manual in VB which is not the same objects as Delphi.

Edit: So there is no manual. Where could I find the code that translates the Delphi code to access the OLE calls? In the current state, there is a guessing game with the Delphi as , how vb is translated to the Delhpi.

4

There are 4 best solutions below

3
On BEST ANSWER

The authoritative source is the Word Object Model Reference on MSDN. There is nothing better. It's not written using Delphi syntax but you just have to live with that.

0
On

I doubt which exist such manual, the official source is the Microsoft Word Object Model Reference, The samples are in VB but you can easily translate to delphi. All these objects and properties are accesible via delphi or any language which supports COM.

0
On

Deborah Pate's website may be "old" (~ Delphi 5) but still has valuable advice and examples in Delphi: http://www.djpate.freeserve.co.uk/Automation.htm

0
On

Charlie Calvert's articles on the Embarcadero Developers Network are very good as well. The articles are not linked to each other, so all url's are shown below:

Delphi 3 - Delphi and Microsoft Office: Automating Excel and Word by Charlie Calvert, pages 1 - 5:

Delphi and Word Part II by Charlie Calvert, pages 1 - 3